mb/google/bluey: Reduce WP_RO size to 8MB for SPI compatibility

The previous 12MB WP_RO size is an invalid range for the SPI controller.
Hardware write-protection requires power-of-two or specific
block-aligned boundaries, making 12MB unenforceable.

Reduce WP_RO to 8MB to ensure hardware WP can be correctly enabled.

The reclaimed space is assigned to RW_UNUSED.

BUG=b:479139462
TEST=Build and verify FMAP layout on Bluey; confirm hardware WP
enforcement.

Change-Id: I4515eab3941913942fc5994e7094986e2edbd6d6
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90952
Reviewed-by: Jayvik Desai <jayvik@google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Avi Uday <aviuday@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Subrata Banik 2026-01-27 19:16:26 +05:30
commit a1e602f8ca

View file

@ -1,7 +1,7 @@
## SPDX-License-Identifier: GPL-2.0-only
FLASH@0x0 CONFIG_ROM_SIZE {
WP_RO 12M {
WP_RO 8M {
RO_SECTION {
BOOTBLOCK 512K
FMAP 4K
@ -38,5 +38,7 @@ FLASH@0x0 CONFIG_ROM_SIZE {
RW_FWID_B 256
}
RW_UNUSED 4M
RW_LEGACY(CBFS)
}