[U-Boot] [PATCH 1/4] zmx25: Remove dram_init_banksize()
Fabio Estevam
fabio.estevam at freescale.com
Fri Sep 23 14:50:49 CEST 2011
As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c
Cc: Matthias Weisser <weisserm at arcor.de>
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
board/syteco/zmx25/zmx25.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/board/syteco/zmx25/zmx25.c b/board/syteco/zmx25/zmx25.c
index 893adc6..a49d831 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;
-}
--
1.6.0.4
More information about the U-Boot
mailing list