mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-23 05:18:55 +00:00
sunxi-u-boot: Don't try to load logo when there is no video output. This removes error displayed on serial console when trying to load image
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
This commit is contained in:
parent
ed10182100
commit
90ad4e43a2
3 changed files with 24 additions and 15 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue