HI leo,

Leo Wen wrote on 2017年07月25日 13:53:
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

Change-Id should be removed.

Signed-off-by: Leo Wen <[email protected]>
---
  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"

It should not be set in here, it will affect all rockchip bords.

You can append "preboot=usb start;" to ROCKCHIP_DEVICE_SETTINGS.
https://github.com/rockchip-linux/u-boot/blob/release/include/configs/firefly-rk3288.h#L10


  #endif


_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to