rockchip: rk3399: correct memory region
authorKever Yang <kever.yang@rock-chips.com>
Mon, 17 Apr 2017 08:42:44 +0000 (16:42 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 10 May 2017 19:37:21 +0000 (13:37 -0600)
RK3399 device memory region is 0xf8000000~0xffffffff.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/rk3399/rk3399.c

index 8bb950ebd1145c8da3a63f3303b8db662c19e180..a621a6ff2ab78ad3a62b65979ead23c3f809eed8 100644 (file)
@@ -15,13 +15,13 @@ static struct mm_region rk3399_mem_map[] = {
        {
                .virt = 0x0UL,
                .phys = 0x0UL,
-               .size = 0x80000000UL,
+               .size = 0xf8000000UL,
                .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
                         PTE_BLOCK_INNER_SHARE
        }, {
-               .virt = 0xf0000000UL,
-               .phys = 0xf0000000UL,
-               .size = 0x10000000UL,
+               .virt = 0xf8000000UL,
+               .phys = 0xf8000000UL,
+               .size = 0x08000000UL,
                .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
                         PTE_BLOCK_NON_SHARE |
                         PTE_BLOCK_PXN | PTE_BLOCK_UXN