X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=board%2Fti%2Fsdp3430%2Fsdp.c;h=9a1c0121452e79c910f039399589815181d112b9;hb=bbbc1ae9219ae8c8098c0af14060da5cb0d37e53;hp=0d8e20dc7cf3b6f30c79f5399881a0ffc6a538b0;hpb=e598dfc22c8789991d165714bec53b2390fc999d;p=karo-tx-uboot.git diff --git a/board/ti/sdp3430/sdp.c b/board/ti/sdp3430/sdp.c index 0d8e20dc7c..9a1c012145 100644 --- a/board/ti/sdp3430/sdp.c +++ b/board/ti/sdp3430/sdp.c @@ -25,12 +25,15 @@ #include #include #include +#include #include #include #include #include #include "sdp.h" +DECLARE_GLOBAL_DATA_PTR; + const omap3_sysinfo sysinfo = { DDR_DISCRETE, "OMAP3 SDP3430 board", @@ -101,8 +104,6 @@ extern struct gpmc *gpmc_cfg; */ int board_init(void) { - DECLARE_GLOBAL_DATA_PTR; - gpmc_init(); /* in SRAM or SDRAM, finish GPMC */ /* TODO: Dynamically pop out CS mapping and program accordingly */ /* Configure devices for default ON ON ON settings */ @@ -204,3 +205,11 @@ void set_muxconf_regs(void) /* platform specific muxes */ MUX_SDP3430(); } + +#ifdef CONFIG_GENERIC_MMC +int board_mmc_init(bd_t *bis) +{ + omap_mmc_init(0, 0, 0); + return 0; +} +#endif