diff options
author | Rob Herring <robh@kernel.org> | 2015-06-21 02:29:55 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-12 19:08:19 +0300 |
commit | 32b4a8a2a5aff307b24ec8e41a82f715ca4a6aab (patch) | |
tree | f94d66118b01aa29193277d027b2560b1f901868 /board/highbank/highbank.c | |
parent | e6b606d6572893a9f6fb6339b6a09a4b6942f989 (diff) | |
download | u-boot-32b4a8a2a5aff307b24ec8e41a82f715ca4a6aab.tar.xz |
ARM: highbank: remove DRAM bank setup
On the highbank platform the SoC's management controller firmware
will probe the DRAM modules and populates the initial device tree with
the correct values. Therefore the memory sizes in the DT are already
correct, so remove U-Boot's DRAM bank setup so the memory node is not
"fixed up" by u-boot.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Andre Przywara <osp@andrep.de>
Diffstat (limited to 'board/highbank/highbank.c')
-rw-r--r-- | board/highbank/highbank.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c index 469ee8e114..55999ed226 100644 --- a/board/highbank/highbank.c +++ b/board/highbank/highbank.c @@ -96,12 +96,6 @@ int dram_init(void) return 0; } -void dram_init_banksize(void) -{ - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; -} - #if defined(CONFIG_OF_BOARD_SETUP) int ft_board_setup(void *fdt, bd_t *bd) { |