[U-Boot] [PATCH v3 2/3] rockchip: firefly: Add "usb start" to auto-start USB device
Jacob Chen
jacob2.chen at rock-chips.com
Tue Jul 25 06:14:07 UTC 2017
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 <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"
>
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
More information about the U-Boot
mailing list