summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Wen <leo.wen@rock-chips.com>2017-07-25 12:47:47 (GMT)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-07-27 12:59:03 (GMT)
commita1903c18db13e740e6bedb8955b3272dce5104e1 (patch)
tree5d330953cc2025fa7a169c3ea925bef7ae5eb20d
parentaf830647696a85afad52b0a5b657fed9c9d237a8 (diff)
downloadu-boot-a1903c18db13e740e6bedb8955b3272dce5104e1.tar.xz
rockchip: firefly: Add "usb start" to auto-start USB device
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>
-rw-r--r--include/configs/firefly-rk3288.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/firefly-rk3288.h b/include/configs/firefly-rk3288.h
index 2b0ac9e..d6bb9f6 100644
--- a/include/configs/firefly-rk3288.h
+++ b/include/configs/firefly-rk3288.h
@@ -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>