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/urara/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/urara/chromeos.fmd')
-rw-r--r-- | src/mainboard/google/urara/chromeos.fmd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/google/urara/chromeos.fmd b/src/mainboard/google/urara/chromeos.fmd index 7898cf5686..4bc0db4dc6 100644 --- a/src/mainboard/google/urara/chromeos.fmd +++ b/src/mainboard/google/urara/chromeos.fmd @@ -7,7 +7,7 @@ FLASH@0x0 0x200000 { GBB@0xe1000 0xef00 RO_FRID@0xeff00 0x100 } - RO_VPD@0xf0000 0x10000 + RO_VPD(PRESERVE)@0xf0000 0x10000 } RW_SECTION_A@0x100000 0x70000 { VBLOCK_A@0x0 0x2000 @@ -21,12 +21,12 @@ FLASH@0x0 0x200000 { RW_GPT_PRIMARY@0x0 0x1000 RW_GPT_SECONDARY@0x1000 0x1000 } - RW_ELOG@0x174000 0x4000 - RW_VPD@0x178000 0x8000 + RW_ELOG(PRESERVE)@0x174000 0x4000 + RW_VPD(PRESERVE)@0x178000 0x8000 RW_SECTION_B@0x180000 0x70000 { VBLOCK_B@0x0 0x2000 FW_MAIN_B(CBFS)@0x2000 0x6df00 RW_FWID_B@0x6ff00 0x100 } - RW_NVRAM@0x1f0000 0x10000 + RW_NVRAM(PRESERVE)@0x1f0000 0x10000 } |