summaryrefslogtreecommitdiff
path: root/board/atmel/sama5d3xek/sama5d3xek.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/sama5d3xek/sama5d3xek.c')
-rw-r--r--board/atmel/sama5d3xek/sama5d3xek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/board/atmel/sama5d3xek/sama5d3xek.c
index 88bcd876c9..6d473fc06d 100644
--- a/board/atmel/sama5d3xek/sama5d3xek.c
+++ b/board/atmel/sama5d3xek/sama5d3xek.c
@@ -277,7 +277,7 @@ int board_late_init(void)
#ifdef CONFIG_SPL_BUILD
void spl_board_init(void)
{
-#if CONFIG_SYS_USE_NANDFLASH
+#if CONFIG_NAND_BOOT
sama5d3xek_nand_hw_init();
#endif
}