summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorRavi Kumar Bokka <rbokka@codeaurora.org>2021-10-21 20:14:09 +0530
committerShelley Chen <shchen@google.com>2021-10-25 21:12:30 +0000
commitf8e4ba0085cb8f0d54236825abe0487c733bb25d (patch)
tree6eed42b34cc0724404e9897f9766eca09f169bfc /src/soc
parent4690b0370496db827a50638c27710fca364b7c73 (diff)
soc/qualcomm/sc7280: define the aop symbols
BUG=b:182963902 TEST=Validated on qualcomm sc7280 development board Signed-off-by: Ravi Kumar Bokka <rbokka@codeaurora.org> Change-Id: I62044f6fcb301c0ca35c42598f998913f9b94b95 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58528 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Shelley Chen <shchen@google.com>
Diffstat (limited to 'src/soc')
-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)