mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-24 07:41:53 +00:00
40 lines
1.2 KiB
Diff
40 lines
1.2 KiB
Diff
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
|
|
index 3a360ca4..0423c08
|
|
--- a/include/config_distro_bootcmd.h
|
|
+++ b/include/config_distro_bootcmd.h
|
|
@@ -327,6 +327,9 @@
|
|
BOOTENV_SHARED_UBIFS \
|
|
BOOTENV_SHARED_EFI \
|
|
"boot_prefixes=/ /boot/\0" \
|
|
+ "splashpos=m,m\0" \
|
|
+ "splashimage=66000000\0" \
|
|
+ "loadsplash=if load mmc 0 ${splashimage} /boot/boot.bmp || load mmc 0 ${splashimage} boot.bmp; then bmp d ${splashimage}; fi\0" \
|
|
"boot_scripts=boot.scr.uimg boot.scr\0" \
|
|
"boot_script_dhcp=boot.scr.uimg\0" \
|
|
BOOTENV_BOOT_TARGETS \
|
|
@@ -390,7 +393,7 @@
|
|
"done\0"
|
|
|
|
#ifndef CONFIG_BOOTCOMMAND
|
|
-#define CONFIG_BOOTCOMMAND "run distro_bootcmd"
|
|
+#define CONFIG_BOOTCOMMAND "run loadsplash; run distro_bootcmd"
|
|
#endif
|
|
|
|
#endif /* _CONFIG_CMD_DISTRO_BOOTCMD_H */
|
|
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
|
|
index 2d6b815..33a7b86
|
|
--- a/include/configs/sunxi-common.h
|
|
+++ b/include/configs/sunxi-common.h
|
|
@@ -10,6 +10,12 @@
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
+#ifdef CONFIG_VIDEO
|
|
+#define CONFIG_SPLASH_SCREEN
|
|
+#define CONFIG_SPLASH_SCREEN_ALIGN
|
|
+#define CONFIG_CMD_BMP
|
|
+#define CONFIG_VIDEO_BMP_RLE8
|
|
+#endif
|
|
#ifndef _SUNXI_COMMON_CONFIG_H
|
|
#define _SUNXI_COMMON_CONFIG_H
|
|
|