From: Fabio Estevam Date: Fri, 23 Sep 2011 02:50:49 +0000 (+0000) Subject: zmx25: Remove dram_init_banksize() X-Git-Tag: v2011.12-rc1~636 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5a9361c267b47ac3d38378bb9d77afaf6ae1981e;p=u-boot zmx25: Remove dram_init_banksize() As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c Cc: Matthias Weisser Signed-off-by: Fabio Estevam Acked-by: Stefano Babic --- diff --git a/board/syteco/zmx25/zmx25.c b/board/syteco/zmx25/zmx25.c index 893adc6bd5..a49d8314eb 100644 --- a/board/syteco/zmx25/zmx25.c +++ b/board/syteco/zmx25/zmx25.c @@ -188,9 +188,3 @@ int dram_init(void) PHYS_SDRAM_SIZE); return 0; } - -void dram_init_banksize(void) -{ - gd->bd->bi_dram[0].start = PHYS_SDRAM; - gd->bd->bi_dram[0].size = gd->ram_size; -}