rockchip: firefly: Add "usb start" to auto-start USB device
authorLeo Wen <leo.wen@rock-chips.com>
Tue, 25 Jul 2017 12:47:47 +0000 (20:47 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 27 Jul 2017 12:59:03 +0000 (14:59 +0200)
Add "preboot=usb start" to ROCKCHIP_DEVICE_SETTINGS,you don't
need to input "usb start" in command line of u-boot console,it
can auto-start the USB device,after that usb keyboard can work.

Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
include/configs/firefly-rk3288.h

index 2b0ac9ec5f43e62c8bb47679063bcd5b72538cf5..d6bb9f6fb4af05d91755e77a3dc717dd33856ce1 100644 (file)
@@ -10,7 +10,8 @@
 #define ROCKCHIP_DEVICE_SETTINGS \
                "stdin=serial,usbkbd\0" \
                "stdout=serial,vidconsole\0" \
-               "stderr=serial,vidconsole\0"
+               "stderr=serial,vidconsole\0" \
+               "preboot=usb start\0"
 
 #include <configs/rk3288_common.h>