From 22e54a701dfe2195028577802348ba345e9353e1 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 10 Dec 2025 09:55:16 +0000 Subject: [PATCH] soc/qualcomm/x1p42100: Add AOP, QDSS, and QSEE regions to SSRAM layout This commit updates the SSRAM memory layout in memlayout.ld to reserve space for several new regions. The following regions are added to the SSRAM section: - qsee: 100K at 0x14680000 - qdss_usb_trace: 8K at 0x146A6000 - aop_imem: 8K at 0x146A8000 The memory map diagram in the comments is also updated to reflect the reservation of aop_imem and qdss_usb_trace. BUG=b:456953373 TEST=Able to build and boot google/quenbih. Change-Id: I17c2a97d31cdcb81ffdd0c83d8c6d19b9a03a91b Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/90443 Reviewed-by: Kapil Porwal Tested-by: build bot (Jenkins) Reviewed-by: Jayvik Desai --- src/soc/qualcomm/x1p42100/memlayout.ld | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/soc/qualcomm/x1p42100/memlayout.ld b/src/soc/qualcomm/x1p42100/memlayout.ld index cbcbd57ca9..ae1ee96355 100644 --- a/src/soc/qualcomm/x1p42100/memlayout.ld +++ b/src/soc/qualcomm/x1p42100/memlayout.ld @@ -163,7 +163,11 @@ * 0x146ABFE8 +----------------------------------------------------------+ | * | shared_imem | | * 0x146AA000 +----------------------------------------------------------+ | - * | ... Usable memory ... | SSRAM + * | aop_imem | | + * 0x146A8000 +----------------------------------------------------------+ SSRAM + * | qdss_usb_trace | | + * 0x146A6000 +----------------------------------------------------------+ | + * | ... Usable memory ... | | * 0x146A5000 +----------------------------------------------------------+ | * | AOP SDI | | * 0x14699000 +----------------------------------------------------------+ | @@ -190,7 +194,10 @@ SECTIONS AOPSRAM_END(0x0B100000) SSRAM_START(0x14680000) + REGION(qsee, 0x14680000, 100K, 4K) REGION(aop_sdi, 0x14699000, 48K, 4K) + REGION(qdss_usb_trace, 0x146A6000, 8K, 4K) + REGION(aop_imem, 0x146A8000, 8K, 4K) REGION(shared_imem, 0x146AA000, 0x1000, 4K) REGION(ddr_information, 0x146ABFE8, 16, 8) WATCHDOG_TOMBSTONE(0x146ABFFC, 4)