u-boot: Enable USB with a preboot command
We need to initialize the USB subsystem before we can use USB devices like keyboards and external disks, by running `usb start`. Use the PREBOOT config option to run the necessary command before U-Boot tries to automatically boot anything. It's already enabled for boards other than gru_kevin and gru_bob, so just update those two configs. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>m920qwip
parent
ba772eb6ac
commit
3dd77b33a7
|
@ -476,7 +476,9 @@ CONFIG_ARCH_FIXUP_FDT_MEMORY=y
|
|||
# CONFIG_BOOTARGS_SUBST is not set
|
||||
CONFIG_USE_BOOTCOMMAND=y
|
||||
CONFIG_BOOTCOMMAND="bootflow scan -lb"
|
||||
# CONFIG_USE_PREBOOT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_PREBOOT="usb start"
|
||||
CONFIG_PREBOOT_DEFINED=y
|
||||
CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-gru-bob.dtb"
|
||||
# CONFIG_SAVE_PREV_BL_FDT_ADDR is not set
|
||||
# CONFIG_SAVE_PREV_BL_INITRAMFS_START_ADDR is not set
|
||||
|
|
|
@ -476,7 +476,9 @@ CONFIG_ARCH_FIXUP_FDT_MEMORY=y
|
|||
# CONFIG_BOOTARGS_SUBST is not set
|
||||
CONFIG_USE_BOOTCOMMAND=y
|
||||
CONFIG_BOOTCOMMAND="bootflow scan -lb"
|
||||
# CONFIG_USE_PREBOOT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_PREBOOT="usb start"
|
||||
CONFIG_PREBOOT_DEFINED=y
|
||||
CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-gru-kevin.dtb"
|
||||
# CONFIG_SAVE_PREV_BL_FDT_ADDR is not set
|
||||
# CONFIG_SAVE_PREV_BL_INITRAMFS_START_ADDR is not set
|
||||
|
|
Loading…
Reference in New Issue