summaryrefslogtreecommitdiff
path: root/board/logicpd/am3517evm/am3517evm.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/logicpd/am3517evm/am3517evm.c')
-rw-r--r--board/logicpd/am3517evm/am3517evm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/logicpd/am3517evm/am3517evm.c b/board/logicpd/am3517evm/am3517evm.c
index c0a006a..0a105bf 100644
--- a/board/logicpd/am3517evm/am3517evm.c
+++ b/board/logicpd/am3517evm/am3517evm.c
@@ -76,7 +76,7 @@ void set_muxconf_regs(void)
MUX_AM3517EVM();
}
-#ifdef CONFIG_GENERIC_MMC
+#if defined(CONFIG_GENERIC_MMC) && !defined(CONFIG_SPL_BUILD)
int board_mmc_init(bd_t *bis)
{
omap_mmc_init(0);