summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-01-10 00:19:52 +0530
committerStefano Babic <sbabic@denx.de>2018-02-04 12:00:58 +0100
commitc282eae07c92fb3a249b93fac884e697e3ab3bf5 (patch)
tree806e10f0a6b96f54f410c4aefb1afc71db0f7a11 /include/configs
parent4f0cd03723754746b6400c4279197cf18c9f0419 (diff)
configs: enable spl support wrt env device
nand device needed for mmc config to access nand for write and update so enabling SPL_SUPPORT to mmc or nand is wrt to env device rather nand driver check. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'include/configs')
-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