diff options
author | Hung-Te Lin <hungte@chromium.org> | 2019-03-04 16:48:05 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-05 20:52:06 +0000 |
commit | e5861828ee4357a3df94a8670da1fe9e628deb47 (patch) | |
tree | d1d6fe40fad95ff285c44ef2171626f3833d4450 /src/mainboard/google/sarien/chromeos.fmd | |
parent | 49a44505637ecfa3a6c1606bc0986e70397966b0 (diff) |
mainboard: Enable PRESERVE flag in all vboot/chromeos FMD files
For Chrome OS (or vboot), The PRESERVE flags should be applied on
following sections:
RO_PRESERVE, RO_VPD, RW_PRESERVE, RW_ELOG, RW_NVRAM, RW_SMMSTORE,
RW_VPD, RO_FSG (b:116326638), SI_GBE (chromium:936768),
SI_PDR (chromium:936768)
With the new PRESERVE flag, we don't need RO_PRESERVE and RW_PRESERVE in
the future. But it's still no harm to use it if there are multiple
sections all needing to be preserved.
BUG=chromium:936768
TEST=Builds google/eve and google/kukui inside Chrome OS source tree.
Also boots successfully on eve and kukui devices.
Change-Id: I6664ae3d955001ed14374e2788d400ba5fb9b7f8
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31709
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/google/sarien/chromeos.fmd')
-rw-r--r-- | src/mainboard/google/sarien/chromeos.fmd | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/google/sarien/chromeos.fmd b/src/mainboard/google/sarien/chromeos.fmd index db0af0f0aa..ece0eda099 100644 --- a/src/mainboard/google/sarien/chromeos.fmd +++ b/src/mainboard/google/sarien/chromeos.fmd @@ -2,9 +2,9 @@ FLASH@0xfe000000 0x2000000 { SI_ALL@0x0 0x400000 { SI_DESC@0x0 0x1000 SI_EC@0x1000 0x100000 - SI_GBE@0x101000 0x2000 + SI_GBE(PRESERVE)@0x101000 0x2000 SI_ME@0x103000 0x2f9000 - SI_PDR@0x3fc000 0x4000 + SI_PDR(PRESERVE)@0x3fc000 0x4000 } SI_BIOS@0x400000 0x1c00000 { RW_DIAG@0x0 0x12d0000 { @@ -26,16 +26,16 @@ FLASH@0xfe000000 0x2000000 { RECOVERY_MRC_CACHE@0x0 0x10000 RW_MRC_CACHE@0x10000 0x10000 } - RW_ELOG@0x20000 0x4000 + RW_ELOG(PRESERVE)@0x20000 0x4000 RW_SHARED@0x24000 0x4000 { SHARED_DATA@0x0 0x2000 VBLOCK_DEV@0x2000 0x2000 } - RW_VPD@0x28000 0x2000 - RW_NVRAM@0x2a000 0x6000 + RW_VPD(PRESERVE)@0x28000 0x2000 + RW_NVRAM(PRESERVE)@0x2a000 0x6000 } WP_RO@0x1800000 0x400000 { - RO_VPD@0x0 0x4000 + RO_VPD(PRESERVE)@0x0 0x4000 RO_UNUSED@0x4000 0xc000 RO_SECTION@0x10000 0x3f0000 { FMAP@0x0 0x800 |