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/cheza | |
parent | 49a44505637ecfa3a6c1606bc0986e70397966b0 (diff) | |
download | coreboot-e5861828ee4357a3df94a8670da1fe9e628deb47.tar.xz |
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/cheza')
-rw-r--r-- | src/mainboard/google/cheza/chromeos.fmd | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mainboard/google/cheza/chromeos.fmd b/src/mainboard/google/cheza/chromeos.fmd index e39846a010..71e85562d6 100644 --- a/src/mainboard/google/cheza/chromeos.fmd +++ b/src/mainboard/google/cheza/chromeos.fmd @@ -23,17 +23,18 @@ FLASH@0x0 8M { GBB 0x2f00 RO_FRID 0x100 } - RO_VPD 16K - RO_PRESERVE { + RO_VPD(PRESERVE) 16K + # TODO(hungte): Remove RO_PRESERVE. + RO_PRESERVE(PRESERVE) { RO_DDR_TRAINING 8K RO_FSG } } - RW_VPD 32K - RW_NVRAM 16K + RW_VPD(PRESERVE) 32K + RW_NVRAM(PRESERVE) 16K RW_DDR_TRAINING 8K - RW_ELOG 4K + RW_ELOG(PRESERVE) 4K RW_SHARED 4K { SHARED_DATA } |