On 09/01/2018 19:49, Jagan Teki wrote:
> 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 <ja...@amarulasolutions.com>
> ---
>  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 0c45e06..5f43dfb 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
> 
Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de
=====================================================================
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to