[U-Boot] [PATCH 0/2] configs: apalis/colibri imx6: don't configure video in spl

This series remove unneeded SPL config options. This is needed to successfully compile with the following patch applied: https://lists.denx.de/pipermail/u-boot/2017-August/304010.html
This series is available at http://git.toradex.com/cgit/u-boot-toradex.git/log/?h=for-next
Max Krummenacher (2): configs: colibri_imx6: don't configure video in spl configs: apalis_imx6: don't configure video in spl
include/configs/apalis_imx6.h | 2 ++ include/configs/colibri_imx6.h | 2 ++ 2 files changed, 4 insertions(+)

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@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

On 21/09/2017 18:58, Max Krummenacher wrote:
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@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
Thanks for patch !
Reviewed-by: Stefano Babic sbabic@denx.de
Best regards, Stefano Babic

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@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
participants (2)
-
Max Krummenacher
-
Stefano Babic