coreboot/src/soc/qualcomm/sc7280
Subrata Banik 6925fd69f8 soc/qualcomm: Move common region macros to soc/memlayout.h
The `SSRAM_START/END`, `BSRAM_START/END`, and `AOPSRAM_START/END`
macros were redefined across multiple Qualcomm SoC `memlayout.ld` files.

To reduce code duplication and improve maintainability, this commit
moves these common macros into the shared `<soc/memlayout.h>` header
part of the Qualcomm common code.

The SoC-specific linker scripts are updated to remove the local
definitions.

TEST=Built for all affected SoCs (qcs405, sc7180, sc7280, x1p42100)

Change-Id: I8638b8e03e1e51f57b7e91a072f3d9cdb4ec6200
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88782
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-08-17 01:10:35 +00:00
..
display tree: Drop unused <edid.h> 2024-04-11 19:25:27 +00:00
include/soc soc/qc/sc7280: Relocate SHRM firmware load to common Qualcomm path 2025-07-25 02:36:23 +00:00
bootblock.c Revert "soc/qualcomm: Increase SPI frequency to 75 MHz" 2023-02-24 19:28:24 +00:00
carve_out.c
cbmem.c cbmem_top_chipset: Change the return value to uintptr_t 2022-11-18 16:00:45 +00:00
clock.c Revert "soc/qualcomm: Increase SPI frequency to 75 MHz" 2023-02-24 19:28:24 +00:00
cpucp_load_reset.c
decompressor.c
Kconfig soc: Add SPDX license headers to Kconfig files 2024-02-18 02:03:37 +00:00
Makefile.mk soc/qc/sc7280: Relocate SHRM firmware load to common Qualcomm path 2025-07-25 02:36:23 +00:00
memlayout.ld soc/qualcomm: Move common region macros to soc/memlayout.h 2025-08-17 01:10:35 +00:00
mmu.c
pcie.c tree: Remove duplicated <soc/gpio.h> 2024-05-30 14:40:32 +00:00
qcom_qup_se.c
sdhci.c soc/qualcomm/sc7280: init eMMC 2023-02-08 17:00:27 +00:00
soc.c include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
socinfo.c tree: Remove unused <assert.h> 2024-11-19 00:40:04 +00:00