From 42e20643700aee9039a605e98e4a1339ab42619c Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Tue, 18 Apr 2017 18:02:23 -0600 Subject: google/kahlee: Save VBNV data to CMOS Store VBOOT NV data in CMOS. This allows VBOOT to save flags and data to be used in multiple stages and depthcharge. Fixes developer mode USB boot. Change-Id: I50b45e687a1a1c71838bcc390212b28d7e634a19 Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/19847 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/mainboard/google/kahlee/Kconfig | 5 +++++ src/mainboard/google/kahlee/cmos.layout | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/mainboard/google/kahlee/Kconfig b/src/mainboard/google/kahlee/Kconfig index d6db4a5c8d..e212a57651 100644 --- a/src/mainboard/google/kahlee/Kconfig +++ b/src/mainboard/google/kahlee/Kconfig @@ -54,6 +54,11 @@ config VBOOT select VBOOT_MOCK_SECDATA select EC_GOOGLE_CHROMEEC_SWITCHES select VBOOT_LID_SWITCH + select VBOOT_VBNV_CMOS + +config VBOOT_VBNV_OFFSET + hex + default 0x2A config CHROMEOS select LP_DEFCONFIG_OVERRIDE if PAYLOAD_DEPTHCHARGE diff --git a/src/mainboard/google/kahlee/cmos.layout b/src/mainboard/google/kahlee/cmos.layout index c1338d3cdf..b00693dcc2 100644 --- a/src/mainboard/google/kahlee/cmos.layout +++ b/src/mainboard/google/kahlee/cmos.layout @@ -58,6 +58,8 @@ entries 440 4 e 9 slow_cpu 444 1 e 1 nmi 445 1 e 1 iommu +#Used by ChromeOS: +448 128 r 0 vbnv 728 256 h 0 user_data 984 16 h 0 check_sum # Reserve the extended AMD configuration registers -- cgit v1.2.3