configs: enable spl support wrt env device
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 9 Jan 2018 18:49:52 +0000 (00:19 +0530)
committerStefano Babic <sbabic@denx.de>
Sun, 4 Feb 2018 11:00:58 +0000 (12:00 +0100)
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>
include/configs/imx6-engicam.h

index 0c45e066d89cdf3f2c7ae762bfb0e4553143443b..5f43dfbb9ea7841de7c9ae7f89a156feb443f9a1 100644 (file)
 
 /* 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