diff mbox

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

Message ID 1500986867-30634-4-git-send-email-leo.wen@rock-chips.com
State Accepted
Delegated to: Philipp Tomsich
Headers show

Commit Message

Leo Wen July 25, 2017, 12:47 p.m. UTC
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>
---
 include/configs/firefly-rk3288.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Philipp Tomsich July 26, 2017, 11:11 a.m. UTC | #1
> 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>
> ---
>  include/configs/firefly-rk3288.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Philipp Tomsich July 26, 2017, 4:52 p.m. UTC | #2
> 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>
> ---
>  include/configs/firefly-rk3288.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Philipp Tomsich July 27, 2017, 11:20 a.m. UTC | #3
> 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 | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

Applied to u-boot-rockchip, thanks!
diff mbox

Patch

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>