X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=board%2Fwandboard%2Fspl.c;h=717e02a039b7ce05aac482a479fb244dc077d40b;hb=6cc04547cb3bbd3a3d78947f200acbae19e3c67f;hp=dbd9d0286fd0da1528ce90f86e838441728cdf7b;hpb=0b7f1a95df8fe312ff8f1f548f51e6d656e8e67e;p=platform%2Fkernel%2Fu-boot.git diff --git a/board/wandboard/spl.c b/board/wandboard/spl.c index dbd9d02..717e02a 100644 --- a/board/wandboard/spl.c +++ b/board/wandboard/spl.c @@ -5,10 +5,13 @@ * Richard Hu */ +#include +#include #include #include #include #include +#include #include #include #include @@ -473,7 +476,7 @@ int board_mmc_getcd(struct mmc *mmc) return ret; } -int board_mmc_init(bd_t *bis) +int board_mmc_init(struct bd_info *bis) { int ret; u32 index = 0; @@ -484,7 +487,7 @@ int board_mmc_init(bd_t *bis) * mmc0 SOM MicroSD * mmc1 Carrier board MicroSD */ - for (index = 0; index < CONFIG_SYS_FSL_USDHC_NUM; ++index) { + for (index = 0; index < CFG_SYS_FSL_USDHC_NUM; ++index) { switch (index) { case 0: SETUP_IOMUX_PADS(usdhc3_pads); @@ -501,7 +504,7 @@ int board_mmc_init(bd_t *bis) default: printf("Warning: you configured more USDHC controllers" "(%d) then supported by the board (%d)\n", - index + 1, CONFIG_SYS_FSL_USDHC_NUM); + index + 1, CFG_SYS_FSL_USDHC_NUM); return -EINVAL; }