[coreboot-gerrit] Change in coreboot[master]: google/kahlee: Save VBNV data to CMOS

Marc Jones (Code Review) gerrit at coreboot.org
Wed May 24 01:07:19 CEST 2017


Marc Jones has uploaded a new change for review. ( https://review.coreboot.org/19847 )

Change subject: google/kahlee: Save VBNV data to CMOS
......................................................................

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 <marcj303 at gmail.com>
---
M src/mainboard/google/kahlee/Kconfig
M src/mainboard/google/kahlee/cmos.layout
2 files changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/19847/1

diff --git a/src/mainboard/google/kahlee/Kconfig b/src/mainboard/google/kahlee/Kconfig
index 990a72d..bc89ba8 100644
--- a/src/mainboard/google/kahlee/Kconfig
+++ b/src/mainboard/google/kahlee/Kconfig
@@ -56,6 +56,11 @@
 	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 c1338d3..b00693d 100644
--- a/src/mainboard/google/kahlee/cmos.layout
+++ b/src/mainboard/google/kahlee/cmos.layout
@@ -58,6 +58,8 @@
 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

-- 
To view, visit https://review.coreboot.org/19847
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I50b45e687a1a1c71838bcc390212b28d7e634a19
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Marc Jones <marc at marcjonesconsulting.com>



More information about the coreboot-gerrit mailing list