Maulik V Vaghela has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/52732 )
Change subject: mb/intel/adlrvp: Align chromeos.fmd file with Brya ......................................................................
mb/intel/adlrvp: Align chromeos.fmd file with Brya
While moving to emerge build for coreboot, Adlrvp doesn't have space for CBFS region. We need to update fmd file to align with Brya, so that we have enough space in CBFS and FW_MAIN_* regions to accomodate all necessary binaries such as Microcode, VBT, EC, ME etc.
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 --- M src/mainboard/intel/adlrvp/chromeos.fmd 1 file changed, 37 insertions(+), 32 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/52732/1
diff --git a/src/mainboard/intel/adlrvp/chromeos.fmd b/src/mainboard/intel/adlrvp/chromeos.fmd index e8755ba..ad62060 100644 --- a/src/mainboard/intel/adlrvp/chromeos.fmd +++ b/src/mainboard/intel/adlrvp/chromeos.fmd @@ -1,42 +1,47 @@ -FLASH@0xfe000000 32M { - SI_ALL@0x0 0x1000000 { - SI_DESC 0x1000 - SI_EC 0x80000 +FLASH 32M { + SI_ALL 5M { + SI_DESC 4K SI_ME } - SI_BIOS@0x1400000 0xc00000 { - RW_SECTION_A 0x368000 { - VBLOCK_A 0x10000 - FW_MAIN_A(CBFS) 0x357fc0 - RW_FWID_A 0x40 + SI_BIOS 27M { + RW_SECTION_A 8M { + VBLOCK_A 64K + FW_MAIN_A(CBFS) + RW_FWID_A 64 + ME_RW_A(CBFS) 3M } - RW_SECTION_B 0x368000 { - VBLOCK_B 0x10000 - FW_MAIN_B(CBFS) 0x357fc0 - RW_FWID_B 0x40 - } - RW_MISC 0x30000 { - UNIFIED_MRC_CACHE(PRESERVE) 0x20000 { - RECOVERY_MRC_CACHE 0x10000 - RW_MRC_CACHE 0x10000 + RW_LEGACY(CBFS) 2M + RW_MISC 1M { + UNIFIED_MRC_CACHE(PRESERVE) 192K { + RECOVERY_MRC_CACHE 64K + RW_MRC_CACHE 128K } - RW_ELOG(PRESERVE) 0x4000 - RW_SHARED 0x4000 { - SHARED_DATA 0x2000 - VBLOCK_DEV 0x2000 + RW_ELOG(PRESERVE) 16K + RW_SHARED 16K { + SHARED_DATA 8K + VBLOCK_DEV 8K } - RW_VPD(PRESERVE) 0x2000 - RW_NVRAM(PRESERVE) 0x6000 + RW_VPD(PRESERVE) 8K + RW_NVRAM(PRESERVE) 24K } - # RW_LEGACY needs to be minimum of 1MB - RW_LEGACY(CBFS) 0x100000 - WP_RO { - RO_VPD(PRESERVE) 0x4000 + # This section starts at the 16M boundary in SPI flash. + # ADL does not support a region crossing this boundary, + # because the SPI flash is memory-mapped into two non- + # 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 { - FMAP 0x800 - RO_FRID 0x40 - RO_FRID_PAD 0x7c0 - GBB 0x3000 + FMAP 2K + RO_FRID 64 + GBB@4K 448K COREBOOT(CBFS) } }