[PATCH v2 8/8] board: ten64: start USB stack in late init
Marek Vasut
marek.vasut at mailbox.org
Tue Apr 21 15:33:16 CEST 2026
On 4/21/26 3:29 AM, Mathew McBride wrote:
> Hi Marek,
>
> On Tue, Apr 21, 2026, at 10:44 AM, Marek Vasut wrote:
>> On 4/21/26 2:04 AM, Mathew McBride wrote:
>> [snip]
>>> + /* Ensure usb storage devices are available to bootflow.
>>> + * Additionally, if there is a USB hub on the board,
>>> + * it needs to be started to become usable both in U-Boot
>>> + * and in any booted OS.
>>> + */
>>> + if (IS_ENABLED(CONFIG_USB_STORAGE) || IS_ENABLED(CONFIG_USB_ONBOARD_HUB))
>>> + usb_init();
>> Why not place 'usb start' into 'preboot' script instead ?
>>
>
> I was not aware of preboot, but it looks like that will solve this issue nicely.
> I will roll another revision with CONFIG_PREBOOT="usb start" instead of the usb_init() call.
> Thanks for the tip!
Excellent, thank you.
More information about the U-Boot
mailing list