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@gmail.com>
Reviewed-on: https://review.coreboot.org/19847
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Marc Jones 2017-04-18 18:02:23 -06:00 committed by Martin Roth
parent 965f5e2d53
commit 42e2064370
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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