diff --git a/patch/u-boot/u-boot-sun50iw2/sunxi-boot-splash.patch b/patch/u-boot/u-boot-sun50iw2/sunxi-boot-splash.patch index 868cac93d4..85f4144089 100644 --- a/patch/u-boot/u-boot-sun50iw2/sunxi-boot-splash.patch +++ b/patch/u-boot/u-boot-sun50iw2/sunxi-boot-splash.patch @@ -51,12 +51,15 @@ index 02d7be0849..cbdea20d08 100644 /* Ethernet support */ #ifdef CONFIG_SUNXI_EMAC #define CONFIG_PHY_ADDR 1 -@@ -444,7 +454,7 @@ extern int soft_i2c_gpio_scl; - - #ifdef CONFIG_USB_KEYBOARD +@@ -442,6 +442,11 @@ extern int soft_i2c_gpio_scl; #define CONSOLE_STDIN_SETTINGS \ -- "preboot=usb start\0" \ -+ "preboot=run loadsplash; usb start\0" \ + "preboot=usb start\0" \ "stdin=serial,usbkbd\0" ++#if defined CONFIG_VIDEO || defined CONFIG_DM_VIDEO ++#define CONSOLE_STDIN_SETTINGS \ ++ "preboot=run loadsplash; usb start\0" \ ++ "stdin=serial,usbkbd\0" ++#endif #else #define CONSOLE_STDIN_SETTINGS \ + "stdin=serial\0" diff --git a/patch/u-boot/u-boot-sunxi-legacy/sunxi-boot-splash.patch b/patch/u-boot/u-boot-sunxi-legacy/sunxi-boot-splash.patch index 868cac93d4..85f4144089 100644 --- a/patch/u-boot/u-boot-sunxi-legacy/sunxi-boot-splash.patch +++ b/patch/u-boot/u-boot-sunxi-legacy/sunxi-boot-splash.patch @@ -51,12 +51,15 @@ index 02d7be0849..cbdea20d08 100644 /* Ethernet support */ #ifdef CONFIG_SUNXI_EMAC #define CONFIG_PHY_ADDR 1 -@@ -444,7 +454,7 @@ extern int soft_i2c_gpio_scl; - - #ifdef CONFIG_USB_KEYBOARD +@@ -442,6 +442,11 @@ extern int soft_i2c_gpio_scl; #define CONSOLE_STDIN_SETTINGS \ -- "preboot=usb start\0" \ -+ "preboot=run loadsplash; usb start\0" \ + "preboot=usb start\0" \ "stdin=serial,usbkbd\0" ++#if defined CONFIG_VIDEO || defined CONFIG_DM_VIDEO ++#define CONSOLE_STDIN_SETTINGS \ ++ "preboot=run loadsplash; usb start\0" \ ++ "stdin=serial,usbkbd\0" ++#endif #else #define CONSOLE_STDIN_SETTINGS \ + "stdin=serial\0" diff --git a/patch/u-boot/u-boot-sunxi/sunxi-boot-splash.patch b/patch/u-boot/u-boot-sunxi/sunxi-boot-splash.patch index 868cac93d4..85f4144089 100644 --- a/patch/u-boot/u-boot-sunxi/sunxi-boot-splash.patch +++ b/patch/u-boot/u-boot-sunxi/sunxi-boot-splash.patch @@ -51,12 +51,15 @@ index 02d7be0849..cbdea20d08 100644 /* Ethernet support */ #ifdef CONFIG_SUNXI_EMAC #define CONFIG_PHY_ADDR 1 -@@ -444,7 +454,7 @@ extern int soft_i2c_gpio_scl; - - #ifdef CONFIG_USB_KEYBOARD +@@ -442,6 +442,11 @@ extern int soft_i2c_gpio_scl; #define CONSOLE_STDIN_SETTINGS \ -- "preboot=usb start\0" \ -+ "preboot=run loadsplash; usb start\0" \ + "preboot=usb start\0" \ "stdin=serial,usbkbd\0" ++#if defined CONFIG_VIDEO || defined CONFIG_DM_VIDEO ++#define CONSOLE_STDIN_SETTINGS \ ++ "preboot=run loadsplash; usb start\0" \ ++ "stdin=serial,usbkbd\0" ++#endif #else #define CONSOLE_STDIN_SETTINGS \ + "stdin=serial\0"