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 <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88069
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
Subrata Banik 2025-06-12 06:51:04 +00:00
commit 19d1604fd7

View file

@ -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