From: Kever Yang Date: Tue, 13 Jun 2017 13:00:12 +0000 (+0800) Subject: rockchip: rk3328: correct mem_region X-Git-Tag: v2017.09-rc1~215^2~44 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=be8da534e2578ccc57ff96974955b234ef2194f9;p=u-boot rockchip: rk3328: correct mem_region According to rk3328 TRM: 0~0xff000000 is ddr space; 0xff000000~0xffffffff is device space. Signed-off-by: Kever Yang Reviewed-by: Simon Glass Reviewed-by: Philipp Tomsich --- diff --git a/arch/arm/mach-rockchip/rk3328/rk3328.c b/arch/arm/mach-rockchip/rk3328/rk3328.c index 857f0142b0..cec6f905f6 100644 --- a/arch/arm/mach-rockchip/rk3328/rk3328.c +++ b/arch/arm/mach-rockchip/rk3328/rk3328.c @@ -13,13 +13,13 @@ static struct mm_region rk3328_mem_map[] = { { .virt = 0x0UL, .phys = 0x0UL, - .size = 0x80000000UL, + .size = 0xff000000UL, .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) | PTE_BLOCK_INNER_SHARE }, { - .virt = 0xf0000000UL, - .phys = 0xf0000000UL, - .size = 0x10000000UL, + .virt = 0xff000000UL, + .phys = 0xff000000UL, + .size = 0x1000000UL, .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) | PTE_BLOCK_NON_SHARE | PTE_BLOCK_PXN | PTE_BLOCK_UXN