summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/configs/imx6-engicam.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/imx6-engicam.h b/include/configs/imx6-engicam.h
index 0c45e066d8..5f43dfbb9e 100644
--- a/include/configs/imx6-engicam.h
+++ b/include/configs/imx6-engicam.h
@@ -208,7 +208,7 @@
/* SPL */
#ifdef CONFIG_SPL
-# ifdef CONFIG_NAND_MXS
+# ifdef CONFIG_ENV_IS_IN_NAND
# define CONFIG_SPL_NAND_SUPPORT
# else
# define CONFIG_SPL_MMC_SUPPORT