summaryrefslogtreecommitdiff
path: root/board/atmel/sama5d3_xplained/sama5d3_xplained.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/sama5d3_xplained/sama5d3_xplained.c')
-rw-r--r--board/atmel/sama5d3_xplained/sama5d3_xplained.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/atmel/sama5d3_xplained/sama5d3_xplained.c b/board/atmel/sama5d3_xplained/sama5d3_xplained.c
index ba7f9f2..f32e86b 100644
--- a/board/atmel/sama5d3_xplained/sama5d3_xplained.c
+++ b/board/atmel/sama5d3_xplained/sama5d3_xplained.c
@@ -112,11 +112,11 @@ int dram_init(void)
#ifdef CONFIG_SPL_BUILD
void spl_board_init(void)
{
-#ifdef CONFIG_SYS_USE_MMC
+#ifdef CONFIG_SD_BOOT
#ifdef CONFIG_GENERIC_ATMEL_MCI
sama5d3_xplained_mci0_hw_init();
#endif
-#elif CONFIG_SYS_USE_NANDFLASH
+#elif CONFIG_NAND_BOOT
sama5d3_xplained_nand_hw_init();
#endif
}