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

Max Krummenacher max.oss.09 at gmail.com
Thu Sep 21 16:58:14 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/colibri_imx6.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h
index 5fd9aab..b02a291 100644
--- a/include/configs/colibri_imx6.h
+++ b/include/configs/colibri_imx6.h
@@ -94,6 +94,7 @@
 #define CONFIG_MXC_GPIO
 
 /* Framebuffer and LCD */
+#if !defined(CONFIG_SPL_BUILD)
 #define CONFIG_VIDEO_IPUV3
 #define CONFIG_SYS_CONSOLE_IS_IN_ENV
 #define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
@@ -106,6 +107,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