diff options
author | Marc Jones <marc.jones@scarletltd.com> | 2018-04-25 16:53:46 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-04-27 09:14:25 +0000 |
commit | e6280918fd429b8cc4a79026efedd9230e23efe9 (patch) | |
tree | e44a32b017e053f25b97e0543a33aa7010825e45 | |
parent | 4c887eaebae579ccf3cd95abd976911b4a238ce6 (diff) |
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>
-rw-r--r-- | src/mainboard/google/kahlee/variants/grunt/chromeos.fmd | 3 | ||||
-rw-r--r-- | src/mainboard/google/kahlee/variants/kahlee/chromeos.fmd | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/google/kahlee/variants/grunt/chromeos.fmd b/src/mainboard/google/kahlee/variants/grunt/chromeos.fmd index 674e6d76af..11c4bf07ff 100644 --- a/src/mainboard/google/kahlee/variants/grunt/chromeos.fmd +++ b/src/mainboard/google/kahlee/variants/grunt/chromeos.fmd @@ -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 { diff --git a/src/mainboard/google/kahlee/variants/kahlee/chromeos.fmd b/src/mainboard/google/kahlee/variants/kahlee/chromeos.fmd index 82820984ea..4a4e3ca414 100644 --- a/src/mainboard/google/kahlee/variants/kahlee/chromeos.fmd +++ b/src/mainboard/google/kahlee/variants/kahlee/chromeos.fmd @@ -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 |