| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
|
| 3 |
#include <memlayout.h> |
| 4 |
#include <arch/header.ld> |
| 5 |
#include <soc/memlayout.h> |
| 6 |
|
| 7 |
SECTIONS |
| 8 |
{ |
| 9 |
AOPSRAM_START(0x0B000000) |
| 10 |
REGION(aop_code_ram, 0x0B000000, 0x80000, 4096) |
| 11 |
REGION(aop_data_ram, 0x0B0E0000, 0x20000, 4096) |
| 12 |
AOPSRAM_END(0x0B100000) |
| 13 |
|
| 14 |
SSRAM_START(0x14680000) |
| 15 |
OVERLAP_DECOMPRESSOR_VERSTAGE_ROMSTAGE(0x14680000, 112K) |
| 16 |
REGION(qcsdi, 0x1469E000, 55K, 4K) |
| 17 |
REGION(modem_id, 0x146ABD00, 4, 4) |
| 18 |
SSRAM_END(0x146AE000) |
| 19 |
|
| 20 |
BSRAM_START(0x14800000) |
| 21 |
REGION(pbl_timestamps, 0x14800000, 83K, 4K) |
| 22 |
WATCHDOG_TOMBSTONE(0x14814FFC, 4) |
| 23 |
BOOTBLOCK(0x14815000, 52K) |
| 24 |
TPM_LOG(0x14822000, 2K) |
| 25 |
PRERAM_CBFS_CACHE(0x14822800, 56K) |
| 26 |
PRERAM_CBMEM_CONSOLE(0x14830800, 32K) |
| 27 |
TIMESTAMP(0x14838800, 1K) |
| 28 |
TTB(0x14839000, 56K) |
| 29 |
STACK(0x14847000, 16K) |
| 30 |
VBOOT2_WORK(0x1484B000, 12K) |
| 31 |
DMA_COHERENT(0x1484E000, 8K) |
| 32 |
REGION(ddr_training, 0x14850000, 8K, 4K) |
| 33 |
REGION(qclib_serial_log, 0x14852000, 4K, 4K) |
| 34 |
REGION(ddr_information, 0x14853000, 1K, 1K) |
| 35 |
FMAP_CACHE(0x14853400, 2K) |
| 36 |
CBFS_MCACHE(0x14853C00, 8K) |
| 37 |
REGION(dcb, 0x1485b000, 16K, 4K) |
| 38 |
REGION(pmic, 0x1485f000, 48K, 4K) |
| 39 |
REGION(qclib, 0x1486b000, 596K, 4K) |
| 40 |
BSRAM_END(0x14900000) |
| 41 |
|
| 42 |
DRAM_START(0x80000000) |
| 43 |
/* Various hardware/software subsystems make use of this area */ |
| 44 |
REGION(dram_aop, 0x80800000, 0x040000, 0x1000) |
| 45 |
REGION(dram_soc, 0x80900000, 0x200000, 0x1000) |
| 46 |
BL31(0x80B00000, 1M) |
| 47 |
REGION(dram_modem_wifi_only, 0x86000000, 32M, 4) |
| 48 |
REGION(dram_modem_extra, 0x88000000, 108M, 4) |
| 49 |
POSTRAM_CBFS_CACHE(0x9F800000, 16M) |
| 50 |
RAMSTAGE(0xA0800000, 16M) |
| 51 |
} |