board_f: Drop setup_dram_config() wrapper
[oweals/u-boot.git] / board / spear / common / spr_misc.c
index bc92cd6f494320e9122e2aa7277294d3ab3f80e0..d6a84dba60eb346c94830ac67378da78c27f9009 100644 (file)
@@ -33,10 +33,12 @@ int dram_init(void)
        return 0;
 }
 
-void dram_init_banksize(void)
+int dram_init_banksize(void)
 {
        gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
        gd->bd->bi_dram[0].size = gd->ram_size;
+
+       return 0;
 }
 
 int board_early_init_f()