From: Fabio Estevam Date: Thu, 22 Sep 2011 08:07:12 +0000 (+0000) Subject: mx31ads: Remove dram_init_banksize() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=14c7817b87020819221dd5a2e9243084d32fe349;p=project%2Fbcm63xx%2Fu-boot.git mx31ads: Remove dram_init_banksize() As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c Signed-off-by: Fabio Estevam --- diff --git a/board/freescale/mx31ads/mx31ads.c b/board/freescale/mx31ads/mx31ads.c index 7637c9281c..4d99f491b7 100644 --- a/board/freescale/mx31ads/mx31ads.c +++ b/board/freescale/mx31ads/mx31ads.c @@ -36,12 +36,6 @@ 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; -} - int board_early_init_f(void) { int i;