diff options
author | Liviu Dudau <Liviu.Dudau@foss.arm.com> | 2015-10-19 10:08:31 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-19 21:05:28 (GMT) |
commit | 2d0cee1ca2b9d977fa3214896bb2e30cfec77059 (patch) | |
tree | cf901bf536c12645ac509dcf9782f2156082f160 /board/armltd/vexpress64 | |
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 'board/armltd/vexpress64')
-rw-r--r-- | board/armltd/vexpress64/vexpress64.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/armltd/vexpress64/vexpress64.c b/board/armltd/vexpress64/vexpress64.c index 7cb4e00..6df9d60 100644 --- a/board/armltd/vexpress64/vexpress64.c +++ b/board/armltd/vexpress64/vexpress64.c @@ -38,6 +38,14 @@ int dram_init(void) return 0; } +void dram_init_banksize(void) +{ + gd->bd->bi_dram[0].start = PHYS_SDRAM_1; + gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; + gd->bd->bi_dram[1].start = PHYS_SDRAM_2; + gd->bd->bi_dram[1].size = PHYS_SDRAM_2_SIZE; +} + /* * Board specific reset that is system reset. */ |