From e5861828ee4357a3df94a8670da1fe9e628deb47 Mon Sep 17 00:00:00 2001 From: Hung-Te Lin Date: Mon, 4 Mar 2019 16:48:05 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/31709 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/mainboard/ocp/wedge100s/vboot-ro.fmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/ocp/wedge100s') diff --git a/src/mainboard/ocp/wedge100s/vboot-ro.fmd b/src/mainboard/ocp/wedge100s/vboot-ro.fmd index a591bae973..1413bbff29 100644 --- a/src/mainboard/ocp/wedge100s/vboot-ro.fmd +++ b/src/mainboard/ocp/wedge100s/vboot-ro.fmd @@ -6,10 +6,10 @@ FLASH 16M { SI_BIOS@0x800000 0x800000 { MISC_RW@0x0 0x20000 { RW_MRC_CACHE@0x0 0x10000 - RW_VPD@0x010000 0x4000 + RW_VPD(PRESERVE)@0x010000 0x4000 } WP_RO@0x020000 0x7e0000 { - RO_VPD@0x0 0x4000 + RO_VPD(PRESERVE)@0x0 0x4000 RO_SECTION@0x4000 0x7dc000 { FMAP@0x0 0x800 RO_FRID@0x800 0x40 -- cgit v1.2.3