]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
configs: ten64: add USB start to preboot
authorMathew McBride <matt@traverse.com.au>
Fri, 1 May 2026 01:36:09 +0000 (11:36 +1000)
committerPeng Fan <peng.fan@nxp.com>
Wed, 6 May 2026 08:04:49 +0000 (16:04 +0800)
There are two reasons why the USB stack needs to be
started before handing to bootflow or other boot
sequences:

1. When a USB hub is present on the board, we need to
do the required sequences to make it usable

2. To make USB storage devices 'visible' to bootflow
without further intervention

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
configs/ten64_tfa_defconfig

index 26d41b3f36630bdecbdb70d15fde2a3427bc1bfa..7c1aaabfa4e35a62f5ebcc3a41eff91e85e0a6d3 100644 (file)
@@ -90,6 +90,8 @@ CONFIG_DM_SPI=y
 CONFIG_FSL_DSPI=y
 CONFIG_FSL_QSPI=y
 CONFIG_TPM_ATMEL_TWI=y
+CONFIG_USE_PREBOOT=y
+CONFIG_PREBOOT="usb start"
 CONFIG_USB=y
 CONFIG_USB_ONBOARD_HUB=y
 CONFIG_USB_XHCI_HCD=y