]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ge: bx50v3: make CONFIG_VIDEO optional and disabled by default
authorAndrew Shadura <andrew.shadura@collabora.co.uk>
Tue, 24 May 2016 13:56:18 +0000 (15:56 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 7 Jun 2016 16:13:06 +0000 (18:13 +0200)
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@collabora.co.uk>
include/configs/ge_bx50v3.h

index 130487987656086b3f9a620e352d11167f589264..53f868968672c83d9ffe391c5bf0b130e8ce42b5 100644 (file)
 
 #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
 #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