From e6280918fd429b8cc4a79026efedd9230e23efe9 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Wed, 25 Apr 2018 16:53:46 -0600 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/25843 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Martin Roth --- src/mainboard/google/kahlee/variants/grunt/chromeos.fmd | 3 ++- 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