From: Rob Herring <rob.herr...@calxeda.com> The memory sizes in highbank dtb's are already correct, so remove the DRAM bank setup so the memory node is not fixed up by u-boot.
Signed-off-by: Rob Herring <rob.herr...@calxeda.com> --- board/highbank/highbank.c | 6 ------ include/configs/highbank.h | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c index f41bf05..647bd56 100644 --- a/board/highbank/highbank.c +++ b/board/highbank/highbank.c @@ -79,12 +79,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; -} - void reset_cpu(ulong addr) { writel(HB_PWR_HARD_RESET, HB_SREG_A9_PWR_REQ); diff --git a/include/configs/highbank.h b/include/configs/highbank.h index 62cc08c..a0fe2c3 100644 --- a/include/configs/highbank.h +++ b/include/configs/highbank.h @@ -97,7 +97,7 @@ /*----------------------------------------------------------------------- * Physical Memory Map */ -#define CONFIG_NR_DRAM_BANKS 1 +#define CONFIG_NR_DRAM_BANKS 0 #define PHYS_SDRAM_1_SIZE (4089 << 20) #define CONFIG_SYS_MEMTEST_START 0x100000 #define CONFIG_SYS_MEMTEST_END (PHYS_SDRAM_1_SIZE - 0x100000) -- 1.7.10.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot