]> git.sur5r.net Git - u-boot/blobdiff - board/amcc/bamboo/bamboo.c
ARM: dts: am335x-evm: disable mmc3
[u-boot] / board / amcc / bamboo / bamboo.c
index 2838f9a1edd39ab708c459e15ad020d2ab1b0a49..6a50b393f462b56200fcf29a20ebeb9ae5fcde7e 100644 (file)
@@ -12,6 +12,8 @@
 #include <asm/ppc440.h>
 #include "bamboo.h"
 
+DECLARE_GLOBAL_DATA_PTR;
+
 void ext_bus_cntlr_init(void);
 void configure_ppc440ep_pins(void);
 int is_nand_selected(void);
@@ -436,9 +438,11 @@ int checkboard(void)
 }
 
 
-phys_size_t initdram (int board_type)
+int dram_init(void)
 {
-       return spd_sdram();
+       gd->ram_size = spd_sdram();
+
+       return 0;
 }
 
 /*----------------------------------------------------------------------------+