From: Kever Yang Date: Mon, 17 Apr 2017 08:42:44 +0000 (+0800) Subject: rockchip: rk3399: correct memory region X-Git-Tag: v2017.07-rc1~356^2~57 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=90c9127e4723e6d57c3cc47f0a7907f2b813cfd4;p=oweals%2Fu-boot.git rockchip: rk3399: correct memory region RK3399 device memory region is 0xf8000000~0xffffffff. Signed-off-by: Kever Yang Reviewed-by: Simon Glass --- diff --git a/arch/arm/mach-rockchip/rk3399/rk3399.c b/arch/arm/mach-rockchip/rk3399/rk3399.c index 8bb950ebd1..a621a6ff2a 100644 --- a/arch/arm/mach-rockchip/rk3399/rk3399.c +++ b/arch/arm/mach-rockchip/rk3399/rk3399.c @@ -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