To avoid compilation warning it need to define it in the header file. --- include/mmc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/mmc.h b/include/mmc.h index d74a190..1d48bba 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -388,7 +388,9 @@ int mmc_legacy_init(int verbose); int board_mmc_init(bd_t *bis); int cpu_mmc_init(bd_t *bis); int mmc_get_env_addr(struct mmc *mmc, int copy, u32 *env_addr); - +#ifdef CONFIG_SPL +int spl_board_mmc_init(bd_t *bis); +#endif /* Set block count limit because of 16 bit register limit on some hardware*/ #ifndef CONFIG_SYS_MMC_MAX_BLK_COUNT #define CONFIG_SYS_MMC_MAX_BLK_COUNT 65535 -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot