summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/mediatek/mt8192/include/soc/memlayout.ld15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/soc/mediatek/mt8192/include/soc/memlayout.ld b/src/soc/mediatek/mt8192/include/soc/memlayout.ld
index df9d376f27..57b258c32c 100644
--- a/src/soc/mediatek/mt8192/include/soc/memlayout.ld
+++ b/src/soc/mediatek/mt8192/include/soc/memlayout.ld
@@ -21,11 +21,16 @@ SECTIONS
TPM_TCPA_LOG(0x00103000, 2K)
FMAP_CACHE(0x00103800, 2K)
WATCHDOG_TOMBSTONE(0x00104000, 4)
- PRERAM_CBMEM_CONSOLE(0x00104004, 63K - 4)
- TIMESTAMP(0x00113c00, 1K)
- STACK(0x00114000, 16K)
- TTB(0x00118000, 28K)
- DMA_COHERENT(0x0011f000, 4K)
+ PRERAM_CBMEM_CONSOLE(0x00104004, 19K - 4)
+ TIMESTAMP(0x00108c00, 1K)
+ STACK(0x00109000, 16K)
+ TTB(0x0010d000, 28K)
+ DMA_COHERENT(0x00114000, 4K)
+ /*
+ * MCUPM exchanges data with kernel driver using SRAM 0x00115000 ~ 0x0011ffff.
+ * The address is hardcoded in MCUPM image and is unlikely to change.
+ */
+ REGION(mcufw_reserved, 0x00115000, 44K, 4K)
SRAM_END(0x00120000)
SRAM_L2C_START(0x00200000)