summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm')
-rw-r--r--src/soc/qualcomm/sc7280/memlayout.ld5
-rw-r--r--src/soc/qualcomm/sc7280/soc.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/src/soc/qualcomm/sc7280/memlayout.ld b/src/soc/qualcomm/sc7280/memlayout.ld
index 6398dbabea..620e5b55db 100644
--- a/src/soc/qualcomm/sc7280/memlayout.ld
+++ b/src/soc/qualcomm/sc7280/memlayout.ld
@@ -20,7 +20,8 @@ SECTIONS
REGION(shrm, 0x09060000, 64K , 4K)
AOPSRAM_START(0x0B000000)
- REGION(aop, 0x0B000000, 0x100000, 4096)
+ REGION(aop_code_ram, 0x0B000000, 0x80000, 4096)
+ REGION(aop_data_ram, 0x0B0E0000, 0x20000, 4096)
AOPSRAM_END(0x0B100000)
SSRAM_START(0x14680000)
@@ -51,7 +52,7 @@ SECTIONS
DRAM_START(0x80000000)
/* Various hardware/software subsystems make use of this area */
- REGION(dram_aop, 0x80800000, 0x040000, 0x1000)
+ REGION(dram_aop, 0x80800000, 0x080000, 0x1000)
REGION(dram_soc, 0x80900000, 0x200000, 0x1000)
BL31(0x80B00000, 1M)
REGION(dram_wlan, 0x80C00000, 0xC00000, 0x1000)
diff --git a/src/soc/qualcomm/sc7280/soc.c b/src/soc/qualcomm/sc7280/soc.c
index c0fa32f691..96a4d5a2b2 100644
--- a/src/soc/qualcomm/sc7280/soc.c
+++ b/src/soc/qualcomm/sc7280/soc.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <symbols.h>
#include <device/device.h>
#include <soc/mmu.h>
#include <soc/mmu_common.h>
@@ -16,6 +15,8 @@ static void soc_read_resources(struct device *dev)
REGION_SIZE(dram_wlan) / KiB);
reserved_ram_resource(dev, 3, (uintptr_t)_dram_wpss / KiB,
REGION_SIZE(dram_wpss) / KiB);
+ reserved_ram_resource(dev, 4, (uintptr_t)_dram_aop / KiB,
+ REGION_SIZE(dram_aop) / KiB);
}
static void soc_init(struct device *dev)