MLK-16802 imx8m: correct mmu mapping
authorPeng Fan <peng.fan@nxp.com>
Sun, 12 Nov 2017 11:33:22 +0000 (19:33 +0800)
committerPeng Fan <peng.fan@nxp.com>
Mon, 13 Nov 2017 01:01:39 +0000 (09:01 +0800)
ATF has been moved to OCRAM, it is no longer in DRAM, so
let Uboot could use that space.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/cpu/armv8/imx8m/soc.c

index e2b397c..c8038a7 100644 (file)
@@ -176,9 +176,9 @@ static struct mm_region imx8m_mem_map[] = {
                         PTE_BLOCK_NON_SHARE |
                         PTE_BLOCK_PXN | PTE_BLOCK_UXN
        }, {
-               .virt = 0x40020000UL,
-               .phys = 0x40020000UL,
-               .size = 0xbffe0000UL,
+               .virt = 0x40000000UL,
+               .phys = 0x40000000UL,
+               .size = 0xC0000000UL,
                .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
                         PTE_BLOCK_OUTER_SHARE
        }, {