From 8e666c367df66d1fe8b84f92eb811e03f5a1c9c5 Mon Sep 17 00:00:00 2001 From: Sasirekaa Madhesu Date: Mon, 14 Jul 2025 10:38:08 +0530 Subject: [PATCH] soc/qualcomm/x1p42100: Update boot critical firmware memory layout This patch updates the memory layout for AP Firmware boot on the Qualcomm x1p42100 SoC. This update is crucial to ensure that all processors and co-processors can successfully load their respective blobs during the process of booting to the OS. TEST=Successfully booted google/blueu. Change-Id: Ibce385e9d201f0a3c5daf19e8dfe235fa9f695af Signed-off-by: Sasirekaa Madhesu Reviewed-on: https://review.coreboot.org/c/coreboot/+/88420 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik Reviewed-by: Kapil Porwal --- src/soc/qualcomm/x1p42100/memlayout.ld | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/src/soc/qualcomm/x1p42100/memlayout.ld b/src/soc/qualcomm/x1p42100/memlayout.ld index c2e2f90766..016b2aef9c 100644 --- a/src/soc/qualcomm/x1p42100/memlayout.ld +++ b/src/soc/qualcomm/x1p42100/memlayout.ld @@ -19,16 +19,14 @@ SECTIONS { - REGION(shrm, 0x09060000, 64K , 4K) - AOPSRAM_START(0x0B000000) REGION(aop_code_ram, 0x0B000000, 0x80000, 4096) REGION(aop_data_ram, 0x0B0E0000, 0x20000, 4096) AOPSRAM_END(0x0B100000) SSRAM_START(0x14680000) - OVERLAP_DECOMPRESSOR_VERSTAGE_ROMSTAGE(0x14680000, 132K) - REGION(qcsdi, 0x146A1000, 40K, 4K) + REGION(qcsdi, 0x14699000, 48K, 4K) + REGION(shared_imem, 0x146A8000, 12K, 4K) SSRAM_END(0x146AB000) BSRAM_START(0x14800000) @@ -45,12 +43,19 @@ SECTIONS CBFS_MCACHE(0x1485C000,16K) REGION(ddr_information, 0x14860000, 1K, 1K) FMAP_CACHE(0x14860400, 2K) - REGION(dcb, 0x14862000, 32K, 4K) - REGION(pmic, 0x1486A000, 96K, 4K) - REGION(ddr_training, 0x14882000, 32K, 4K) - REGION(qclib, 0x1488A000, 800K, 4K) - PRERAM_CBMEM_CONSOLE(0x14954000, 32K) - BSRAM_END(0x1495C000) + REGION(dcb, 0x14862000, 56K, 4K) + REGION(dtb, 0x14870000, 32K, 4K) + REGION(ddr_training, 0x14878000, 64K, 4K) + REGION(shrm_meta, 0x14888000, 16K, 4K) + REGION(debug_policy_meta,0x1488C000 , 12K, 4K) + REGION(qclib, 0x14897000, 1536K, 4K) + PRERAM_CBMEM_CONSOLE(0x14A17000, 32K) + OVERLAP_DECOMPRESSOR_VERSTAGE_ROMSTAGE(0x14A38000, 132K) + REGION(auth_metadata,0x14A7D000 , 8K, 4K) + REGION(debug_policy, 0x14A7F000, 4K, 4K) + BSRAM_END(0x14A80000) + + REGION(shrm, 0x24040000, 128K , 4K) DRAM_START(0x80000000) POSTRAM_CBFS_CACHE(0x9F800000, 16M)