From c282eae07c92fb3a249b93fac884e697e3ab3bf5 Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Wed, 10 Jan 2018 00:19:52 +0530 Subject: [PATCH] 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 --- include/configs/imx6-engicam.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5