[U-Boot] [PATCH v2 3/8] board: ge: bx50v3: make CONFIG_VIDEO optional and disabled by default

Martin Donnelly martin.donnelly at ge.com
Mon May 30 14:04:11 CEST 2016


On Mon, May 30, 2016 at 01:37:03PM +0200, Andrew Shadura wrote:
> The kernel already knows how to initialise the display, and initialising
> the display from U-boot is only useful for debugging and isn't necessary
> in production, so no need to have it enabled in U-boot by default.
> 
> Signed-off-by: Andrew Shadura <andrew.shadura at collabora.co.uk>

Acked-by: Martin Donnelly <martin.donnelly at ge.com>

> ---
>  include/configs/ge_bx50v3.h | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
> index 1304879..53f8689 100644
> --- a/include/configs/ge_bx50v3.h
> +++ b/include/configs/ge_bx50v3.h
> @@ -293,13 +293,14 @@
>  
>  #define CONFIG_SYS_FSL_USDHC_NUM	3
>  
> +#define CONFIG_SYS_CONSOLE_IS_IN_ENV
> +#define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
> +
>  /* Framebuffer */
> -#define CONFIG_VIDEO
> +#ifdef CONFIG_VIDEO
>  #define CONFIG_VIDEO_IPUV3
>  #define CONFIG_CFB_CONSOLE
>  #define CONFIG_VGA_AS_SINGLE_DEVICE
> -#define CONFIG_SYS_CONSOLE_IS_IN_ENV
> -#define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
>  #define CONFIG_VIDEO_BMP_RLE8
>  #define CONFIG_SPLASH_SCREEN
>  #define CONFIG_SPLASH_SCREEN_ALIGN
> @@ -309,6 +310,7 @@
>  #define CONFIG_IPUV3_CLK 260000000
>  #define CONFIG_IMX_HDMI
>  #define CONFIG_IMX_VIDEO_SKIP
> +#endif
>  
>  #define CONFIG_PWM_IMX
>  #define CONFIG_IMX6_PWM_PER_CLK	66000000
> -- 
> 2.7.4
> 


More information about the U-Boot mailing list