[U-Boot] [PATCH v4 3/3] rockchip: firefly: Add "usb start" to auto-start USB device

Leo Wen leo.wen at rock-chips.com
Tue Jul 25 06:48:08 UTC 2017


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.

Change-Id: I28fc883ca7b1151a72fb7342aaaf5802492e867b
Signed-off-by: Leo Wen <leo.wen at rock-chips.com>
---
 include/configs/firefly-rk3288.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/configs/firefly-rk3288.h b/include/configs/firefly-rk3288.h
index 6ef0960..c99ab99 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>
 
-- 
2.7.4




More information about the U-Boot mailing list