From a1903c18db13e740e6bedb8955b3272dce5104e1 Mon Sep 17 00:00:00 2001 From: Leo Wen Date: Tue, 25 Jul 2017 20:47:47 +0800 Subject: [PATCH] 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 Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- 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 2b0ac9ec5f..d6bb9f6fb4 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 -- 2.25.1