@@ -270,6 +270,15 @@ extern int soft_i2c_gpio_scl;
#endif /* CONFIG_VIDEO_SUNXI */
+#if CONFIG_IS_ENABLED(CMD_BMP)
+# define CONFIG_VIDEO_BMP_RLE8
+# define CONFIG_SPLASH_SCREEN
+# define CONFIG_SPLASH_SCREEN_ALIGN
+# define CONFIG_BMP_16BPP
+# define CONFIG_VIDEO_LOGO
+# define CONFIG_VIDEO_BMP_LOGO
+#endif
+
/* Ethernet support */
#ifdef CONFIG_USB_EHCI_HCD
@@ -475,6 +484,8 @@ extern int soft_i2c_gpio_scl;
#endif
#define CONSOLE_ENV_SETTINGS \
+ "splashpos=0,0\0" \
+ "splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
CONSOLE_STDIN_SETTINGS \
CONSOLE_STDOUT_SETTINGS
Enable splash screen support for sunxi platforms. The splash screen image, sunxi.bmp would load left corner on screen in 0,0 splash position. This is default legacy logo position on sunxi platform and also it would be common practice to have at 0,0 since the default sunx.bmp is nominal size. Signed-off-by: Jagan Teki <jagan at amarulasolutions.com> --- Changes for v2: - new patch include/configs/sunxi-common.h | 11 +++++++++++ 1 file changed, 11 insertions(+)