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

2017-09-23 Thread Anatolij Gustschin
Hi Fabio, On Fri, 22 Sep 2017 22:55:04 -0300 Fabio Estevam feste...@gmail.com wrote: ... > > /* 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 > >

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

2017-09-22 Thread Fabio Estevam
Hi Anatolij, On Wed, Sep 20, 2017 at 8:22 AM, Anatolij Gustschin 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 >

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

2017-09-21 Thread Anatolij Gustschin
Hi, On Thu, 21 Sep 2017 09:10:32 + Max Krummenacher max.krummenac...@toradex.com wrote: ... > > colibri_imx6 > > apalis_imx6 > > I will prepare a patch for these two. > Max Thanks! -- Anatolij ___ U-Boot mailing list

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

2017-09-21 Thread Max Krummenacher
Hi On Wed, 2017-09-20 at 15:04 +0200, Stefano Babic wrote: > Hi Fabio, Anatolji, > > just to save time : this is the list of boards that are affected by this > problem. > > cgtqmx6eval > wandboard > colibri_imx6 > apalis_imx6 I will prepare a patch for these two. Max

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

2017-09-20 Thread Stefano Babic
Hi Fabio, Anatolji, just to save time : this is the list of boards that are affected by this problem. cgtqmx6eval wandboard colibri_imx6 apalis_imx6 mx6cuboxi mx6sabresd imx6qdl_icore_rqs A good solution is also if the board maintainers (I CCed all of

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

2017-09-20 Thread Anatolij Gustschin
Hi Fabio, On Wed, 20 Sep 2017 00:18:52 -0300 Fabio Estevam feste...@gmail.com wrote: > Hi Stefano, > > On Tue, Sep 19, 2017 at 4:54 AM, Stefano Babic wrote: > > > Reason is clear: boards have in SPL a setup_display() that calls > > enable_ipu_clock. But it makes no sense to

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

2017-09-19 Thread Fabio Estevam
Hi Stefano, On Tue, Sep 19, 2017 at 4:54 AM, Stefano Babic wrote: > Reason is clear: boards have in SPL a setup_display() that calls > enable_ipu_clock. But it makes no sense to have IPU support in SPL. Good catch, thanks! Anatolij, Do you plan to remove IPU code from SPL?

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

2017-09-19 Thread Anatolij Gustschin
Hi Stefano, On Tue, 19 Sep 2017 09:54:30 +0200 Stefano Babic sba...@denx.de wrote: ... > This patch has some side-effects and breaks some boards. Even if the > changes are correct, some boards (wandboard, icore are examples) don't > disable IPU support in SPL. Even if this is useless and

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

2017-09-19 Thread Stefano Babic
Hi Anatolji, On 28/08/2017 21:46, Anatolij Gustschin wrote: > We do not use print_cpuinfo and clock command code in SPL, > disable it when building SPL image. > > Signed-off-by: Anatolij Gustschin > --- > arch/arm/mach-imx/cpu.c | 4 ++-- > arch/arm/mach-imx/mx6/clock.c |