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

Fabio Estevam festevam at gmail.com
Wed Jun 20 22:52:03 UTC 2018


There is typo in the Subject: "implementation"

On Wed, Jun 20, 2018 at 6:27 PM, Michael Trimarchi
<michael at amarulasolutions.com> wrote:
> lcdif_power_down should not be included in spl build to avoid build
> failure introduced by commit eb111bb31d882877e75e6b8083808dcaf6493b92

What is the build failure exactly?

Please specify the commit as eb111bb31d88 ("imx: mx6: implement reset_misc")

> 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

Yes, we don't need LCD related functions in SPL, so this fix looks good.


More information about the U-Boot mailing list