summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-09-23 02:50:49 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-30 22:01:05 +0200
commit5a9361c267b47ac3d38378bb9d77afaf6ae1981e (patch)
tree724db9acc60a14768a382b62a731651bb2bcb659
parentdb84140bb7cfbe60d200cca72f79c37ec7ae87d6 (diff)
downloadu-boot-imx-5a9361c267b47ac3d38378bb9d77afaf6ae1981e.zip
u-boot-imx-5a9361c267b47ac3d38378bb9d77afaf6ae1981e.tar.gz
u-boot-imx-5a9361c267b47ac3d38378bb9d77afaf6ae1981e.tar.bz2
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 <weisserm@arcor.de> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de>
-rw-r--r--board/syteco/zmx25/zmx25.c6
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;
-}