]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
zmx25: Remove dram_init_banksize()
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 23 Sep 2011 02:50:49 +0000 (02:50 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 30 Sep 2011 20:01:05 +0000 (22:01 +0200)
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>
board/syteco/zmx25/zmx25.c

index 893adc6bd58d5242c0c85abfd078248cc366cc99..a49d8314eb3af5acd3cfc9988931e36855d00333 100644 (file)
@@ -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;
-}