summaryrefslogtreecommitdiff
path: root/plat/sun50iw1p1/aarch64
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-02-23 12:34:22 +0000
committerAndre Przywara <andre.przywara@arm.com>2016-06-02 01:29:47 +0100
commit6df6f935eaf55bf6938a4479e14b7cc06d36cce2 (patch)
treeddf5b728872a851bf74922a493046742f113ffee /plat/sun50iw1p1/aarch64
parentc11a98fb4746a39beb74c47aa371647d793345b4 (diff)
sun50i: remove now unused trusted mapping
Without the arisc there is no need to reserve a memory mapping for later. Remove the entries from the data structure to avoid unneeded mappings. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat/sun50iw1p1/aarch64')
-rw-r--r--plat/sun50iw1p1/aarch64/sunxi_common.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/plat/sun50iw1p1/aarch64/sunxi_common.c b/plat/sun50iw1p1/aarch64/sunxi_common.c
index da5ed3d..ded47a7 100644
--- a/plat/sun50iw1p1/aarch64/sunxi_common.c
+++ b/plat/sun50iw1p1/aarch64/sunxi_common.c
@@ -60,10 +60,8 @@ const mmap_region_t sunxi_mmap[] = {
{ 0x1000000, 0x1000000,
0x1000000, MT_DEVICE | MT_RW | MT_SECURE },
//2G
- { DRAM1_BASE, DRAM1_BASE, SUNXI_MAX_DRAM_SIZE, MT_MEMORY | MT_RW | MT_NS},
- //TRUSTED dram for secure os and shared memory
- { SUNXI_TRUSTED_DRAM_BASE, SUNXI_TRUSTED_DRAM_BASE, SUNXI_TRUSTED_DRAM_SIZE, MT_MEMORY | MT_RW | MT_SECURE },
- { MEMRES_BASE, MEMRES_BASE, MEMRES_SIZE, MT_DEVICE | MT_RW | MT_SECURE },
+ { DRAM1_BASE, DRAM1_BASE,
+ SUNXI_MAX_DRAM_SIZE, MT_MEMORY | MT_RW | MT_NS},
{0}
};