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> |
||
|---|---|---|
| .. | ||
| display | ||
| include/soc | ||
| bootblock.c | ||
| carve_out.c | ||
| cbmem.c | ||
| clock.c | ||
| cpucp_load_reset.c | ||
| decompressor.c | ||
| Kconfig | ||
| Makefile.mk | ||
| memlayout.ld | ||
| mmu.c | ||
| pcie.c | ||
| qcom_qup_se.c | ||
| sdhci.c | ||
| soc.c | ||
| socinfo.c | ||