summaryrefslogtreecommitdiff
path: root/board/atmel/sama5d3_xplained
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/sama5d3_xplained')
-rw-r--r--board/atmel/sama5d3_xplained/sama5d3_xplained.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/atmel/sama5d3_xplained/sama5d3_xplained.c b/board/atmel/sama5d3_xplained/sama5d3_xplained.c
index 2b9da91b2d..4c339a09ee 100644
--- a/board/atmel/sama5d3_xplained/sama5d3_xplained.c
+++ b/board/atmel/sama5d3_xplained/sama5d3_xplained.c
@@ -136,7 +136,9 @@ int board_mmc_init(bd_t *bis)
void spl_board_init(void)
{
#ifdef CONFIG_SYS_USE_MMC
+#ifdef CONFIG_GENERIC_ATMEL_MCI
sama5d3_xplained_mci0_hw_init();
+#endif
#elif CONFIG_SYS_USE_NANDFLASH
sama5d3_xplained_nand_hw_init();
#endif