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>
This commit is contained in:
Jagan Teki 2018-01-10 00:19:52 +05:30 committed by Stefano Babic
parent 4f0cd03723
commit c282eae07c

View File

@ -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