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

Leo Wen leo.wen at rock-chips.com
Tue Jul 25 05:53:05 UTC 2017


Add "usb start" to #define PREBOOT,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: I40f6d81a6e8478703cb03c44e0f00fc2d26df33a
Signed-off-by: Leo Wen <leo.wen at rock-chips.com>
---
 include/configs/rk3288_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
index ac268cd..23d7389 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
@@ -113,6 +113,6 @@
 	BOOTENV
 #endif
 
-#define CONFIG_PREBOOT
+#define CONFIG_PREBOOT			"usb start"
 
 #endif
-- 
2.7.4




More information about the U-Boot mailing list