public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] imx6: disable clock command and print_cpuinfo code in SPL
Date: Wed, 20 Sep 2017 13:22:34 +0200	[thread overview]
Message-ID: <20170920132234.636e4e5e@crub> (raw)
In-Reply-To: <CAOMZO5AfLjF5_Xq8zp6suzoT7=0cHvAu=-_0T0MKaR40y4-L1Q@mail.gmail.com>

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 <sbabic@denx.de> 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

  reply	other threads:[~2017-09-20 11:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-28 19:46 [U-Boot] [PATCH] imx6: disable clock command and print_cpuinfo code in SPL Anatolij Gustschin
2017-09-19  7:54 ` Stefano Babic
2017-09-19 12:18   ` Anatolij Gustschin
2017-09-20  3:18   ` Fabio Estevam
2017-09-20 11:22     ` Anatolij Gustschin [this message]
2017-09-20 13:04       ` Stefano Babic
2017-09-21  9:10         ` Max Krummenacher
2017-09-21 11:01           ` Anatolij Gustschin
2017-09-23  1:55       ` Fabio Estevam
2017-09-23 16:29         ` Anatolij Gustschin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170920132234.636e4e5e@crub \
    --to=agust@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox