summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>2019-06-05 17:31:32 +0200
committerChristoph Muellner <christoph.muellner@theobroma-systems.com>2019-10-13 14:32:47 +0200
commit11c20645c668cc7c3d3c3ddbf41eb9dc3446955b (patch)
treec09881a1f0fc5c32fdfcfa68350f2147f1ab08c5
parent65ce3ec1c621252815349d714e0e8176abcb00b2 (diff)
rk3368: Fix memory map.
The RK3368 TRM shows, that DRAM ranges from 0x0-0xff000000. Above that the MMIO/SRAM blocks start. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
-rw-r--r--arch/arm/mach-rockchip/rk3368/rk3368.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-rockchip/rk3368/rk3368.c b/arch/arm/mach-rockchip/rk3368/rk3368.c
index c6eef25428..bbcd9fb758 100644
--- a/arch/arm/mach-rockchip/rk3368/rk3368.c
+++ b/arch/arm/mach-rockchip/rk3368/rk3368.c
@@ -34,13 +34,13 @@ static struct mm_region rk3368_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 = 0x01000000UL,
.attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
PTE_BLOCK_NON_SHARE |
PTE_BLOCK_PXN | PTE_BLOCK_UXN