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

Stefano Babic sbabic at denx.de
Mon Jul 23 09:26:18 UTC 2018


On 20/06/2018 23:27, Michael Trimarchi wrote:
> 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
>  }
>  
>  void s_init(void)
> 

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: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list