From 542e52c126902e25b013a71f19f9c037d2d9e3bf Mon Sep 17 00:00:00 2001 From: Sasirekaa Madhesu Date: Fri, 18 Jul 2025 14:46:22 +0530 Subject: [PATCH] soc/qualcomm/x1p42100: Optimize memory layout for X1P42100 Refactor memory layout on x1p42100 to reuse a single reserved region for all QC image metadata passed from coreboot to QcLib for TME authentication. Also, reposition the PRERAM_CBMEM_CONSOLE reservation after the QcLib region to allow for future expansion. TEST=Successfully booted google/bluey. Change-Id: I6eea99241c233935c5d99d48093c42bb1424143f Signed-off-by: Sasirekaa Madhesu Reviewed-on: https://review.coreboot.org/c/coreboot/+/88485 Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- src/soc/qualcomm/x1p42100/memlayout.ld | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/soc/qualcomm/x1p42100/memlayout.ld b/src/soc/qualcomm/x1p42100/memlayout.ld index 016b2aef9c..664ef3570c 100644 --- a/src/soc/qualcomm/x1p42100/memlayout.ld +++ b/src/soc/qualcomm/x1p42100/memlayout.ld @@ -46,10 +46,9 @@ SECTIONS 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(qc_blob_meta, 0x14888000, 16K, 4K) REGION(qclib, 0x14897000, 1536K, 4K) - PRERAM_CBMEM_CONSOLE(0x14A17000, 32K) + PRERAM_CBMEM_CONSOLE(0x14A30000, 32K) OVERLAP_DECOMPRESSOR_VERSTAGE_ROMSTAGE(0x14A38000, 132K) REGION(auth_metadata,0x14A7D000 , 8K, 4K) REGION(debug_policy, 0x14A7F000, 4K, 4K)