From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Wed, 20 Sep 2017 13:22:34 +0200 Subject: [U-Boot] [PATCH] imx6: disable clock command and print_cpuinfo code in SPL In-Reply-To: References: <1503949586-24936-1-git-send-email-agust@denx.de> <58344258-849d-2eb0-39f4-444178f2953e@denx.de> Message-ID: <20170920132234.636e4e5e@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Fabio, On Wed, 20 Sep 2017 00:18:52 -0300 Fabio Estevam festevam at 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 have IPU support in SPL. > > Good catch, thanks! > > Anatolij, > > Do you plan to remove IPU code from SPL? 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 #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG #define CONFIG_EXTRA_ENV_SETTINGS \ I'll try to prepare a patch for other board configs later this week. Thanks, Anatolij