From 19d1604fd72804303b706efec3c98a1af64bbc39 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 12 Jun 2025 06:51:04 +0000 Subject: [PATCH] mb/google/bluey: Update flash layout This patch updates flash layout for Bluey as below: WP_RO: 4MB -> 12MB | |----> bootblock: 120KB -> 512KB | |----> FMAP: Start offset 0x3c0000 -> Start offset post bootblock | |----> CBFS: Start offset post bootblock -> Start offset post FMAP | |----> RO_VPD: Limit size to 16KB RW_MISC: 128KB -> 120KB RW_SECTION_A/B: 1536KB -> 1984KB This patch allows COREBOOT CBFS to grow beyond 3.75MB as per planned growth in CBFS (inside WP_RO) due to the addition of SoC firmware binaries. TEST=Able to build AP FW image for google/bluey. Change-Id: I2f3b4b44960dfb24287cc62758323b18647bd621 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/88069 Tested-by: build bot (Jenkins) Reviewed-by: Kapil Porwal --- src/mainboard/google/bluey/chromeos.fmd | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/mainboard/google/bluey/chromeos.fmd b/src/mainboard/google/bluey/chromeos.fmd index 1bea2f9397..2396097aae 100644 --- a/src/mainboard/google/bluey/chromeos.fmd +++ b/src/mainboard/google/bluey/chromeos.fmd @@ -1,19 +1,19 @@ ## SPDX-License-Identifier: GPL-2.0-only FLASH@0x0 CONFIG_ROM_SIZE { - WP_RO 4M { - RO_SECTION 0x3c4000 { - BOOTBLOCK 120K + WP_RO 12M { + RO_SECTION { + BOOTBLOCK 512K + FMAP 4K COREBOOT(CBFS) - FMAP@0x3c0000 0x1000 GBB 0x2f00 RO_FRID 0x100 } RO_GSCVD 8K - RO_VPD(PRESERVE) + RO_VPD(PRESERVE) 16K } - RW_MISC 128K { + RW_MISC 120K { UNIFIED_MRC_CACHE(PRESERVE) 64K { RECOVERY_MRC_CACHE 32K RW_MRC_CACHE 32K @@ -26,13 +26,13 @@ FLASH@0x0 CONFIG_ROM_SIZE { RW_NVRAM(PRESERVE) 16K } - RW_SECTION_A 1536K { + RW_SECTION_A 1984K { VBLOCK_A 8K FW_MAIN_A(CBFS) RW_FWID_A 256 } - RW_SECTION_B 1536K { + RW_SECTION_B 1984K { VBLOCK_B 8K FW_MAIN_B(CBFS) RW_FWID_B 256