From c9f3cf14e50d7d7ecf09ebda39d39a2b3a3f804d Mon Sep 17 00:00:00 2001 From: Simon Schwarz Date: Fri, 30 Sep 2011 00:41:33 +0000 Subject: [PATCH] devkit8000: protect board_mmc_init This function is also defined in omap-common/spl_mmc.de so the implementation in devkit8000.c was protected by a ifdef. Signed-off-by: Simon Schwarz --- board/timll/devkit8000/devkit8000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/timll/devkit8000/devkit8000.c b/board/timll/devkit8000/devkit8000.c index f50d113347..fee0dff33c 100644 --- a/board/timll/devkit8000/devkit8000.c +++ b/board/timll/devkit8000/devkit8000.c @@ -120,7 +120,7 @@ void set_muxconf_regs(void) MUX_DEVKIT8000(); } -#ifdef CONFIG_GENERIC_MMC +#if defined(CONFIG_GENERIC_MMC) && !defined(CONFIG_SPL_BUILD) int board_mmc_init(bd_t *bis) { omap_mmc_init(0); -- 2.39.5