summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm')
-rw-r--r--src/soc/qualcomm/ipq40xx/include/soc/memlayout.ld67
1 files changed, 40 insertions, 27 deletions
diff --git a/src/soc/qualcomm/ipq40xx/include/soc/memlayout.ld b/src/soc/qualcomm/ipq40xx/include/soc/memlayout.ld
index 6ff2b77608..de8488ac53 100644
--- a/src/soc/qualcomm/ipq40xx/include/soc/memlayout.ld
+++ b/src/soc/qualcomm/ipq40xx/include/soc/memlayout.ld
@@ -18,34 +18,47 @@
#include <arch/header.ld>
+#define REGION_START(name, addr) SYMBOL(name, addr)
+#define REGION_END(name, addr) SYMBOL(e##name, addr)
+
SECTIONS
{
- REGION(rpm, 0x00020000, 160K, 8K)
- SRAM_START(0x2A000000)
+ REGION(oc_imem, 0x08600000, 32K, 0)
+
+ /* ==vvv== OC_IMEM_1_START 0x08600000 ==vvv== */
+/* DDR(0x08600000, 32K) */
+ /* ==^^^== OC_IMEM_1_END 0x08608000 ==^^^== */
+
+ /* ==vvv== WIFI_IMEM_0_START 0x0A0C0000 ==vvv== */
+ REGION_START(wifi_imem_0, 0x0A0C0000)
/* This includes bootblock image, can be reused after bootblock starts */
-/* UBER_SBL(0x2A000000, 48K) */
-/* DDR(0x2A000000, 48K) */
- BOOTBLOCK(0x2A00C000, 24K)
- OVERLAP_VERSTAGE_ROMSTAGE(0x2A012000, 64K)
- VBOOT2_WORK(0x2A022000, 16K)
- PRERAM_CBMEM_CONSOLE(0x2A026000, 32K)
- TIMESTAMP(0x2A02E000, 1K)
-
-/* 0x2e400..0x3F000 67 KB free */
-
-/* Keep the below area reserved at all times, it is used by various QCA
- components as shared data
- QCA_SHARED_RAM(2A03F000, 4K)
-*/
- STACK(0x2A040000, 16K)
- PRERAM_CBFS_CACHE(0x2A044000, 93K)
- TTB_SUBTABLES(0x2A05B800, 2K)
- TTB(0x2A05C000, 16K)
- SRAM_END(0x2A060000)
-
- DRAM_START(0x40000000)
- RAMSTAGE(0x40640000, 128K)
- SYMBOL(memlayout_cbmem_top, 0x59F80000)
- POSTRAM_CBFS_CACHE(0x59F80000, 384K)
- DMA_COHERENT(0x5A000000, 2M)
+/* UBER_SBL(0x0A0C0000, 48K) */
+
+ PRERAM_CBFS_CACHE(0x0A0C0000, 93K)
+
+ TTB_SUBTABLES(0x0A0E0000, 4K)
+ TTB(0x0A0F0000, 16K)
+ REGION_END(wifi_imem_0, 0x0A100000)
+ /* ==^^^== WIFI_IMEM_0_END 0x0A100000 ==^^^== */
+
+
+ /* ==vvv== WIFI_IMEM_1_START 0x0A8C0000 ==vvv== */
+ REGION_START(wifi_imem_1, 0x0A8C0000)
+ BOOTBLOCK(0x0A8C0000, 24K)
+ OVERLAP_VERSTAGE_ROMSTAGE(0x0A8C6000, 64K)
+ VBOOT2_WORK(0x0A8D6000, 16K)
+ PRERAM_CBMEM_CONSOLE(0x0A8DA000, 32K)
+ TIMESTAMP(0x0A8E2000, 1K)
+
+/* 0x0A8E2400..0x0A8FC000 103 KB free */
+
+ STACK(0x0A8FC000, 16K)
+ REGION_END(wifi_imem_1, 0x0A900000)
+ /* ==^^^== WIFI_IMEM_1_END 0x0A900000 ==^^^== */
+
+ DRAM_START(0x80000000)
+ RAMSTAGE(0x80640000, 128K)
+ SYMBOL(memlayout_cbmem_top, 0x89F80000)
+ POSTRAM_CBFS_CACHE(0x89F80000, 384K)
+ DMA_COHERENT(0x8A000000, 2M)
}