[U-Boot] [PATCH] imx: mx6: Fix implementantion reset_misc

Peng Fan peng.fan at nxp.com
Sun Jun 24 11:35:49 UTC 2018



> -----Original Message-----
> From: Michael Trimarchi [mailto:michael at amarulasolutions.com]
> Sent: 2018年6月21日 5:28
> To: Stefano Babic <sbabic at denx.de>
> Cc: Fabio Estevam <fabio.estevam at nxp.com>; Albert Aribaud
> <albert.u.boot at aribaud.net>; Peng Fan <peng.fan at nxp.com>; Sébastien
> Szymanski <sebastien.szymanski at armadeus.com>; u-boot at lists.denx.de
> Subject: [PATCH] imx: mx6: Fix implementantion reset_misc
> 
> lcdif_power_down should not be included in spl build to avoid build failure
> introduced by commit eb111bb31d882877e75e6b8083808dcaf6493b92
> 
> Signed-off-by: Michael Trimarchi <michael at amarulasolutions.com>
> ---
>  arch/arm/mach-imx/mx6/soc.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/mach-imx/mx6/soc.c
> index e8b6f77..ffc2951 100644
> --- a/arch/arm/mach-imx/mx6/soc.c
> +++ b/arch/arm/mach-imx/mx6/soc.c
> @@ -548,9 +548,11 @@ const struct boot_mode soc_boot_modes[] = {
> 
>  void reset_misc(void)
>  {
> +#ifndef CONFIG_SPL_BUILD
>  #ifdef CONFIG_VIDEO_MXS
>  	lcdif_power_down();
>  #endif
> +#endif

Reviewed-by: Peng Fan <peng.fan at nxp.com>

>  }
> 
>  void s_init(void)
> --
> 2.7.4



More information about the U-Boot mailing list