From 8a90e46346f13e8c9eba8101e935b3d4c40f6281 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Tue, 17 Mar 2026 11:53:19 +0530 Subject: [PATCH] soc/qualcomm/x1p42100: Increase CBFS_MCACHE size to 22K Expand CBFS_MCACHE from 16K to 22K to provide more space for metadata caching. To accommodate this, shift FMAP_CACHE from 0x14860400 to 0x14861800. Updated the memory map diagram in memlayout.ld to reflect the new base address for the FMAP_CACHE region. TEST=No CBFS related error seen while booting google/quartz. w/o patch: ``` [ERROR] CBFS ERROR: mcache overflow, should increase CBFS_MCACHE size! ``` Change-Id: Ic3268c72a4755bd15c6811688eb330c7d753c5ac Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/91698 Reviewed-by: Kapil Porwal Tested-by: build bot (Jenkins) --- src/soc/qualcomm/x1p42100/memlayout.ld | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/soc/qualcomm/x1p42100/memlayout.ld b/src/soc/qualcomm/x1p42100/memlayout.ld index 2c06eccd24..20dc57dc53 100644 --- a/src/soc/qualcomm/x1p42100/memlayout.ld +++ b/src/soc/qualcomm/x1p42100/memlayout.ld @@ -132,7 +132,7 @@ * | ... Usable memory ... | | * 0x14860C00 +----------------------------------------------------------+ | * | FMAP_CACHE | | - * 0x14860000 +----------------------------------------------------------+ BSRAM + * 0x14861800 +----------------------------------------------------------+ BSRAM * | CBFS_MCACHE | | * 0x1485C000 +----------------------------------------------------------+ | * | qclib_serial_log | | @@ -217,8 +217,8 @@ SECTIONS VBOOT2_WORK(0x14854000, 12K) PRERAM_DMA_COHERENT(0x14858000, 8K) REGION(qclib_serial_log, 0x1485B000, 4K, 4K) - CBFS_MCACHE(0x1485C000,16K) - FMAP_CACHE(0x14860400, 2K) + CBFS_MCACHE(0x1485C000,22K) + FMAP_CACHE(0x14861800, 2K) REGION(dcb, 0x14862000, 56K, 4K) REGION(dtb, 0x14870000, 32K, 4K) REGION(ddr_training, 0x14878000, 64K, 4K)