diff --git a/arch/arm/mach-rockchip/rk3368/rk3368.c b/arch/arm/mach-rockchip/rk3368/rk3368.c index e82b631138..0bfe39d5f3 100644 --- a/arch/arm/mach-rockchip/rk3368/rk3368.c +++ b/arch/arm/mach-rockchip/rk3368/rk3368.c @@ -66,13 +66,13 @@ static struct mm_region rk3368_mem_map[] = { { .virt = 0x0UL, .phys = 0x0UL, - .size = 0x80000000UL, + .size = 0xfe000000UL, .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) | PTE_BLOCK_INNER_SHARE }, { - .virt = 0xf0000000UL, - .phys = 0xf0000000UL, - .size = 0x10000000UL, + .virt = 0xfe000000UL, + .phys = 0xfe000000UL, + .size = 0x02000000UL, .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) | PTE_BLOCK_NON_SHARE | PTE_BLOCK_PXN | PTE_BLOCK_UXN diff --git a/include/configs/rk3368_common.h b/include/configs/rk3368_common.h index e7f4178f0c..4f9105edac 100644 --- a/include/configs/rk3368_common.h +++ b/include/configs/rk3368_common.h @@ -15,7 +15,7 @@ #include #define CONFIG_SYS_SDRAM_BASE 0 -#define SDRAM_MAX_SIZE 0xff000000 +#define SDRAM_MAX_SIZE 0xfe000000 #define CONFIG_BAUDRATE 115200 #define CONFIG_SYS_MALLOC_LEN (192 << 20) #define CONFIG_SYS_CBSIZE 1024