X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Famcc%2Fbamboo%2Fbamboo.c;h=6a50b393f462b56200fcf29a20ebeb9ae5fcde7e;hb=ad99abe8e721b948db3b6ab1c2cf10f3de5560e9;hp=2838f9a1edd39ab708c459e15ad020d2ab1b0a49;hpb=cbe7706ab8aab06c18edaa9b120371f9c8012728;p=u-boot diff --git a/board/amcc/bamboo/bamboo.c b/board/amcc/bamboo/bamboo.c index 2838f9a1ed..6a50b393f4 100644 --- a/board/amcc/bamboo/bamboo.c +++ b/board/amcc/bamboo/bamboo.c @@ -12,6 +12,8 @@ #include #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; } /*----------------------------------------------------------------------------+