aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek2017-02-25 18:17:11 +0100
committerMichal Simek2017-06-20 16:40:58 +0200
commit6a1d91be318b44365dfe095a9ca7df1619abefc9 (patch)
tree3e04562d8e4f06e962c404f72d4e2f1c12029766
parentb0259c840ecd7ec35ebc5acad061bd6e2bcc847d (diff)
arm64: zynqmp: Do not map unused OCM/TCM region
When OCM or TCM is protected this mapping still exist and it is causing access violation. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--arch/arm/cpu/armv8/zynqmp/cpu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/cpu/armv8/zynqmp/cpu.c b/arch/arm/cpu/armv8/zynqmp/cpu.c
index b0f12955a1f..280e07ad369 100644
--- a/arch/arm/cpu/armv8/zynqmp/cpu.c
+++ b/arch/arm/cpu/armv8/zynqmp/cpu.c
@@ -38,12 +38,6 @@ static struct mm_region zynqmp_mem_map[] = {
PTE_BLOCK_NON_SHARE |
PTE_BLOCK_PXN | PTE_BLOCK_UXN
}, {
- .virt = 0xffe00000UL,
- .phys = 0xffe00000UL,
- .size = 0x00200000UL,
- .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
- PTE_BLOCK_INNER_SHARE
- }, {
.virt = 0x400000000UL,
.phys = 0x400000000UL,
.size = 0x200000000UL,