mb/intel/adlrvp: Increase RO/RW region size in chromeos.fmd

While building adlrvp board with chromeos.fmd and adding all chromeos
related artifacts, RO region is running out of space. Also, we need
to increase RW region size to accommodate all binaries and artifacts.
Aligning chromeos.fmd with Brya will help in solving this issue, thus
aligning chromeos.fmd with Brya.

BUG=b:184997582
BRANCH=NONE
TEST=Code compiles fine and able to boot adlrvp platform

Change-Id: I644e2e5ba06d2b816d413a7cc9f5f248d8a6fee8
Signed-off-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52732
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Maulik V Vaghela
2021-04-28 18:32:35 +05:30
committed by Patrick Georgi
parent 60d67ce924
commit e46e740f91

View File

@@ -1,42 +1,48 @@
FLASH@0xfe000000 32M { FLASH 32M {
SI_ALL@0x0 0x1000000 { SI_ALL 6M {
SI_DESC 0x1000 SI_DESC 4K
SI_EC 0x80000 SI_EC 512K
SI_ME SI_ME
} }
SI_BIOS@0x1400000 0xc00000 { SI_BIOS 26M {
RW_SECTION_A 0x368000 { RW_SECTION_A 8M {
VBLOCK_A 0x10000 VBLOCK_A 64K
FW_MAIN_A(CBFS) 0x357fc0 FW_MAIN_A(CBFS)
RW_FWID_A 0x40 RW_FWID_A 64
ME_RW_A(CBFS) 3M
} }
RW_SECTION_B 0x368000 { RW_LEGACY(CBFS) 1M
VBLOCK_B 0x10000 RW_MISC 1M {
FW_MAIN_B(CBFS) 0x357fc0 UNIFIED_MRC_CACHE(PRESERVE) 192K {
RW_FWID_B 0x40 RECOVERY_MRC_CACHE 64K
} RW_MRC_CACHE 128K
RW_MISC 0x30000 {
UNIFIED_MRC_CACHE(PRESERVE) 0x20000 {
RECOVERY_MRC_CACHE 0x10000
RW_MRC_CACHE 0x10000
} }
RW_ELOG(PRESERVE) 0x4000 RW_ELOG(PRESERVE) 16K
RW_SHARED 0x4000 { RW_SHARED 16K {
SHARED_DATA 0x2000 SHARED_DATA 8K
VBLOCK_DEV 0x2000 VBLOCK_DEV 8K
} }
RW_VPD(PRESERVE) 0x2000 RW_VPD(PRESERVE) 8K
RW_NVRAM(PRESERVE) 0x6000 RW_NVRAM(PRESERVE) 24K
} }
# RW_LEGACY needs to be minimum of 1MB # This section starts at the 16M boundary in SPI flash.
RW_LEGACY(CBFS) 0x100000 # ADL does not support a region crossing this boundary,
WP_RO { # because the SPI flash is memory-mapped into two non-
RO_VPD(PRESERVE) 0x4000 # contiguous windows.
RW_SECTION_B 8M {
VBLOCK_B 64K
FW_MAIN_B(CBFS)
RW_FWID_B 64
ME_RW_B(CBFS) 3M
}
# Make WP_RO region align with SPI vendor
# memory protected range specification.
WP_RO 8M {
RO_VPD(PRESERVE) 16K
RO_SECTION { RO_SECTION {
FMAP 0x800 FMAP 2K
RO_FRID 0x40 RO_FRID 64
RO_FRID_PAD 0x7c0 GBB@4K 448K
GBB 0x3000
COREBOOT(CBFS) COREBOOT(CBFS)
} }
} }