google/kahlee: Add RW_NVRAM to FMAP

Add RW_NVRAM area to FMAP for VBOOT_VBNV_CMOS_BACKUP_TO_FLASH support.

BUG=b:77347873
TEST=Manually clear CMOS and check coreboot restores VBNV from flash.

Change-Id: Id8c6f54634b94bf6ae3755a827e80d0862a42dd2
Signed-off-by: Marc Jones <marc.jones@scarletltd.com>
Reviewed-on: https://review.coreboot.org/25843
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Marc Jones 2018-04-25 16:53:46 -06:00 committed by Patrick Georgi
parent 4c887eaeba
commit e6280918fd
2 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,8 @@ FLASH@0xFF000000 0x1000000 {
VBLOCK_DEV@0x2000 0x2000
}
RW_VPD@0x465000 0x2000
RW_UNUSED@0x467000 0x599000
RW_NVRAM@0x467000 0x5000
RW_UNUSED@0x46C000 0x594000
RW_LEGACY@0xA00000 0x200000
WP_RO@0xC00000 0x400000 {

View File

@ -23,7 +23,8 @@ FLASH@0xFF800000 0x800000 {
}
RW_VPD@0x465000 0x2000
RW_LEGACY@0x467000 0x100000
RW_UNUSED@0x567000 0x8000
RW_NVRAM@0x567000 0x5000
RW_UNUSED@0x56C000 0x3000
WP_RO@0x56F000 0x291000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000