From d9b646d96a23d6366b9bdc6dff84ef1c3f6cc06c Mon Sep 17 00:00:00 2001 From: Yu-Ping Wu Date: Wed, 28 Dec 2022 15:13:13 +0800 Subject: [PATCH] mb/facebook/fbg1701: Enlarge COREBOOT region for VBOOT by 64kB When VBOOT is enabled, the COREBOOT region (of size 0x09B000) is not large enough. Therefore, adjust vboot-rw.fmd (which is used only with VBOOT) layout by moving 0x10000 space from FW_MAIN_A(CBFS) region to COREBOOT(CBFS) region. TEST=./util/abuild/abuild -t FACEBOOK_FBG1701 -a (with VBOOT selected) Change-Id: I1bc0d6981b873ca631cc4cc0720ab212700a65aa Signed-off-by: Yu-Ping Wu Reviewed-on: https://review.coreboot.org/c/coreboot/+/71543 Tested-by: build bot (Jenkins) Reviewed-by: Frans Hendriks Reviewed-by: Erik van den Bogaert --- src/mainboard/facebook/fbg1701/vboot-rw.fmd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mainboard/facebook/fbg1701/vboot-rw.fmd b/src/mainboard/facebook/fbg1701/vboot-rw.fmd index e3c370f703..172256f7ac 100644 --- a/src/mainboard/facebook/fbg1701/vboot-rw.fmd +++ b/src/mainboard/facebook/fbg1701/vboot-rw.fmd @@ -3,18 +3,18 @@ FLASH@0xff800000 8M { MISC_RW@0x0 0x08000 { RW_MRC_CACHE@0 0x08000 } - RW_SECTION_A@0x08000 0x568000 { + RW_SECTION_A@0x08000 0x558000 { VBLOCK_A@0x0 0x10000 RW_FWID_A@0x10000 0x40 - FW_MAIN_A(CBFS)@0x10040 0x557FC0 + FW_MAIN_A(CBFS)@0x10040 0x547FC0 } - WP_RO@0x570000 0x090000 { - RO_SECTION@0x0000 0x90000 { + WP_RO@0x560000 0x0a0000 { + RO_SECTION@0x0000 0xa0000 { FMAP@0x0 0x400 RO_FRID@0xA00 0x40 RO_FRID_PAD@0xA40 0x5c0 GBB@0x1000 0x4000 - COREBOOT(CBFS)@0x5000 0x08B000 + COREBOOT(CBFS)@0x5000 0x09B000 } } }