]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: zynqmp: Do not map unused OCM/TCM region
authorMichal Simek <michal.simek@xilinx.com>
Sat, 25 Feb 2017 17:17:11 +0000 (18:17 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 28 Feb 2017 07:14:36 +0000 (08:14 +0100)
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>
arch/arm/cpu/armv8/zynqmp/cpu.c

index 405ec9c9774a9e772dd6d184b6cc22d14141b274..e93ec622a616e34b4397d6de898cb5245be843e6 100644 (file)
@@ -37,12 +37,6 @@ static struct mm_region zynqmp_mem_map[] = {
                .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
                         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,