From 523242b2b933d4e4c12c6fd11dc130780ce28486 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Mon, 23 Feb 2026 09:22:25 +0530 Subject: [PATCH] google/bluey: Add RW_CDT region to flash map Carve out 256K from the RW_UNUSED region to create a new RW_CDT section at the end of the flash. The RW_UNUSED region is reduced from 4096K (4M) to 3840K to maintain the existing flash offset for the start of the unused block. The RW_CDT region will be used to store Configuration Data Tables, allowing for platform-specific configuration binary blobs to be stored and updated in the RW section of the flash. BUG=b:483194720 TEST=Build bluey and verify the FMAP layout using 'dump_fmap'. Ensure RW_CDT exists at the expected offset. dump_fmap -h ../../out/build/bluey/firmware/image-bluey.serial.bin RW_CDT 01fc0000 02000000 00040000 RW_UNUSED 01c00000 01fc0000 003c0000 RW_LEGACY 0192e000 01c00000 002d2000 RW_SECTION_B 010ae000 0192e000 00880000 RW_FWID_B 0192df00 0192e000 00000100 FW_MAIN_B 010b0000 0192df00 0087df00 VBLOCK_B 010ae000 010b0000 00002000 RW_SECTION_A 0082e000 010ae000 00880000 RW_FWID_A 010adf00 010ae000 00000100 FW_MAIN_A 00830000 010adf00 0087df00 VBLOCK_A 0082e000 00830000 00002000 RW_MISC 00800000 0082e000 0002e000 RW_NVRAM 0082a000 0082e000 00004000 RW_VPD 00822000 0082a000 00008000 RW_SHARED 00821000 00822000 00001000 SHARED_DATA 00821000 00822000 00001000 RW_ELOG 00820000 00821000 00001000 UNIFIED_MRC_CACHE 00800000 00820000 00020000 RW_MRC_CACHE 00810000 00820000 00010000 RECOVERY_MRC_CACHE 00800000 00810000 00010000 WP_RO 00000000 00800000 00800000 RO_VPD 007fc000 00800000 00004000 RO_GSCVD 007fa000 007fc000 00002000 RO_SECTION 00000000 007fa000 007fa000 RO_FRID 007f9f00 007fa000 00000100 GBB 007f7000 007f9f00 00002f00 COREBOOT 00081000 007f7000 00776000 FMAP 00080000 00081000 00001000 BOOTBLOCK 00000000 00080000 00080000 Change-Id: I7d305647731862e61871e781ad7bfb7cd430b699 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/91380 Tested-by: build bot (Jenkins) Reviewed-by: Kapil Porwal --- src/mainboard/google/bluey/chromeos-nogsc.fmd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/bluey/chromeos-nogsc.fmd b/src/mainboard/google/bluey/chromeos-nogsc.fmd index 85ef0fe673..cd3caa84f2 100644 --- a/src/mainboard/google/bluey/chromeos-nogsc.fmd +++ b/src/mainboard/google/bluey/chromeos-nogsc.fmd @@ -37,7 +37,9 @@ FLASH@0x0 CONFIG_ROM_SIZE { RW_FWID_B 256 } - RW_UNUSED 4M - RW_LEGACY(CBFS) + + RW_UNUSED 3840K + + RW_CDT 256K }