summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/rk3399/rk3399.c
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2017-04-17 16:42:44 +0800
committerSimon Glass <sjg@chromium.org>2017-05-10 13:37:21 -0600
commit90c9127e4723e6d57c3cc47f0a7907f2b813cfd4 (patch)
treea7b52d17df35a235bcba61c8b57adce4feef6d7b /arch/arm/mach-rockchip/rk3399/rk3399.c
parent85c91cb694212e5ca272c1d789a1b439e2b424a5 (diff)
rockchip: rk3399: correct memory region
RK3399 device memory region is 0xf8000000~0xffffffff. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-rockchip/rk3399/rk3399.c')
-rw-r--r--arch/arm/mach-rockchip/rk3399/rk3399.c8
1 files changed, 4 insertions, 4 deletions
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