diff options
-rw-r--r-- | board/highbank/highbank.c | 6 | ||||
-rw-r--r-- | include/configs/highbank.h | 3 |
2 files changed, 2 insertions, 7 deletions
diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c index 469ee8e1146..55999ed2266 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) { diff --git a/include/configs/highbank.h b/include/configs/highbank.h index 86823e235c6..7f331a6a73c 100644 --- a/include/configs/highbank.h +++ b/include/configs/highbank.h @@ -75,8 +75,9 @@ /*----------------------------------------------------------------------- * Physical Memory Map + * The DRAM is already setup, so do not touch the DT node later. */ -#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) |