]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: tbs2910: always enable usbkbd
authorSoeren Moch <smoch@web.de>
Wed, 27 Jul 2016 14:07:16 +0000 (16:07 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 6 Sep 2016 16:22:48 +0000 (18:22 +0200)
'usb start' is much faster now, so always enable usb keyboard

Signed-off-by: Soeren Moch <smoch@web.de>
Reviewed-by: Stefano Babic <sbabic@denx.de>
include/configs/tbs2910.h

index ec0bf0508467b0d9052384c2da6e4cfedd56b91b..7c89e5f44862bb75ab72f517b2335e337bb20b9f 100644 (file)
 #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;"
                        "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; " \