[U-Boot] [PATCH] imx6: disable clock command and print_cpuinfo code in SPL

Fabio Estevam
2017-09-23T01:55:04Z

Hi Anatolij,

On Wed, Sep 20, 2017 at 8:22 AM, Anatolij Gustschin <agust@denx.de> wrote:

> I think we can do it by
>
> diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
> index 3ba4c29..b0f317b 100644
> --- a/include/configs/wandboard.h
> +++ b/include/configs/wandboard.h
> @@ -63,6 +63,7 @@
> #define CONFIG_PHY_ATHEROS
>
> /* Framebuffer */
> +#if !defined(CONFIG_SPL_BUILD)
> #ifdef CONFIG_VIDEO
> #define CONFIG_VIDEO_IPUV3
> #define CONFIG_VIDEO_BMP_RLE8
> @@ -74,6 +75,7 @@
> #define CONFIG_IMX_HDMI
> #define CONFIG_IMX_VIDEO_SKIP
> #endif
> +#endif

This solution still cause build failures for some boards.

I have a patch locally that avoids calling IPU from SPL code.

Will test it tomorrow and then will submit for all the affected boards.

Thanks