]> git.sur5r.net Git - u-boot/commitdiff
mx25pdk: Remove dram_init_banksize()
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 22 Sep 2011 08:07:11 +0000 (08:07 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 30 Sep 2011 20:01:03 +0000 (22:01 +0200)
As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/freescale/mx25pdk/mx25pdk.c

index 6b5d1fca824ff7aeff893dc649f4e7af51f2e76c..34a3811b12fbb0901198be95c0927928dbad440f 100644 (file)
@@ -33,12 +33,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)
 {
        mx25_uart1_init_pins();