diff options
author | Liviu Dudau <Liviu.Dudau@foss.arm.com> | 2015-10-19 13:08:31 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-20 00:05:28 +0300 |
commit | 2d0cee1ca2b9d977fa3214896bb2e30cfec77059 (patch) | |
tree | cf901bf536c12645ac509dcf9782f2156082f160 /include/configs | |
parent | 2727f3bfba1bc78ca517984c2c9e0c473aeedbf4 (diff) | |
download | u-boot-2d0cee1ca2b9d977fa3214896bb2e30cfec77059.tar.xz |
vexpress64: Juno: Declare all 8GB of RAM and make them visible to the kernel.
Juno comes with 8GB RAM, but U-Boot only passes 2GB to the kernel.
Declare a secondary memory bank and set the sizes correctly.
Signed-off-by: Liviu Dudau <Liviu.Dudau@foss.arm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Ryan Harkin <ryan.harkin@linaro.org>
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/vexpress_aemv8a.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h index ef3014d68b..0f2f1a30ba 100644 --- a/include/configs/vexpress_aemv8a.h +++ b/include/configs/vexpress_aemv8a.h @@ -168,11 +168,13 @@ #define CONFIG_SYS_LOAD_ADDR (V2M_BASE + 0x10000000) /* Physical Memory Map */ -#define CONFIG_NR_DRAM_BANKS 1 +#define CONFIG_NR_DRAM_BANKS 2 #define PHYS_SDRAM_1 (V2M_BASE) /* SDRAM Bank #1 */ +#define PHYS_SDRAM_2 (0x880000000) /* Top 16MB reserved for secure world use */ #define DRAM_SEC_SIZE 0x01000000 #define PHYS_SDRAM_1_SIZE 0x80000000 - DRAM_SEC_SIZE +#define PHYS_SDRAM_2_SIZE 0x180000000 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 /* Enable memtest */ |