coreboot-kgpe-d16/src/mainboard/intel/wtm2/chromeos.fmd
Hung-Te Lin e5861828ee 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>
2019-03-05 20:52:06 +00:00

37 lines
880 B
Text

FLASH@0xff800000 0x800000 {
SI_ALL@0x0 0x180000 {
SI_DESC@0x0 0x1000
SI_ME@0x1000 0x17f000
}
SI_BIOS@0x180000 0x680000 {
RW_VPD(PRESERVE)@0x0 0x1000
RW_UNUSED@0x1000 0x67000
RW_SHARED@0x68000 0x18000 {
RW_ENVIRONMENT@0x0 0x4000
RW_MRC_CACHE@0x4000 0x10000
DEV_CFG@0x14000 0x4000
}
RW_SECTION_A@0x80000 0x100000 {
VBLOCK_A@0x0 0x10000
FW_MAIN_A(CBFS)@0x10000 0x7ffc0
RW_FWID_A@0x8ffc0 0x40
RW_UNUSED_A@0x90000 0x70000
}
RW_SECTION_B@0x180000 0x100000 {
VBLOCK_B@0x0 0x10000
FW_MAIN_B(CBFS)@0x10000 0x7ffc0
RW_FWID_B@0x8ffc0 0x40
RW_UNUSED_B@0x90000 0x70000
}
RO_UNUSED_1@0x280000 0x170000
RO_VPD(PRESERVE)@0x3f0000 0x20000
RO_UNUSED_2@0x410000 0xe0000
RO_SECTION@0x4f0000 0x190000 {
FMAP@0x0 0x800
RO_FRID@0x800 0x40
RO_PADDING@0x840 0xf7c0
GBB@0x10000 0x80000
COREBOOT(CBFS)@0x90000 0x100000
}
}
}