[U-Boot] [PATCH 1/2] board: tbs2910: always enable usbkbd
Soeren Moch
smoch at web.de
Wed Jul 27 16:07:16 CEST 2016
'usb start' is much faster now, so always enable usb keyboard
Signed-off-by: Soeren Moch <smoch at web.de>
---
Cc: Stefano Babic <sbabic at denx.de>
Cc: u-boot at lists.denx.de
---
include/configs/tbs2910.h | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
index ec0bf05..7c89e5f 100644
--- a/include/configs/tbs2910.h
+++ b/include/configs/tbs2910.h
@@ -129,9 +129,9 @@
#define CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE
#define CONFIG_SYS_STDIO_DEREGISTER
#define CONFIG_PREBOOT \
+ "usb start; " \
"if hdmidet; then " \
- "usb start; " \
- "run set_con_usb_hdmi; " \
+ "run set_con_hdmi; " \
"else " \
"run set_con_serial; " \
"fi;"
@@ -181,12 +181,11 @@
"bootm 0x10800000 0x10d00000\0" \
"console=ttymxc0\0" \
"fan=gpio set 92\0" \
- "set_con_serial=setenv stdin serial; " \
- "setenv stdout serial; " \
+ "set_con_serial=setenv stdout serial; " \
"setenv stderr serial;\0" \
- "set_con_usb_hdmi=setenv stdin serial,usbkbd; " \
- "setenv stdout serial,vga; " \
- "setenv stderr serial,vga;\0"
+ "set_con_hdmi=setenv stdout serial,vga; " \
+ "setenv stderr serial,vga;\0" \
+ "stdin=serial,usbkbd;\0"
#define CONFIG_BOOTCOMMAND \
"mmc rescan; " \
--
1.9.1
More information about the U-Boot
mailing list