[U-Boot] [PATCH 2/2] configs: apalis_imx6: don't configure video in spl

Max Krummenacher max.oss.09 at gmail.com
Thu Sep 21 16:58:15 UTC 2017


The functionality is not needed in the SPL. It allows to remove
code conditionally in the spl case in some drivers.

Signed-off-by: Max Krummenacher <max.krummenacher at toradex.com>

---

 include/configs/apalis_imx6.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
index 9022a9d..f55c36c 100644
--- a/include/configs/apalis_imx6.h
+++ b/include/configs/apalis_imx6.h
@@ -107,6 +107,7 @@
 /* Miscellaneous commands */
 #define CONFIG_MXC_GPIO
 
+#if !defined(CONFIG_SPL_BUILD)
 /* Framebuffer and LCD */
 #define CONFIG_VIDEO_IPUV3
 #define CONFIG_SYS_CONSOLE_IS_IN_ENV
@@ -120,6 +121,7 @@
 #define CONFIG_CONSOLE_MUX
 #define CONFIG_IMX_HDMI
 #define CONFIG_IMX_VIDEO_SKIP
+#endif
 
 /* allow to overwrite serial and ethaddr */
 #define CONFIG_ENV_OVERWRITE
-- 
2.7.5



More information about the U-Boot mailing list