bootstd: Add a USB hunter
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:47:37 +0000 (10:47 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:40 +0000 (18:11 -0500)
commit04fb2b6e45893df45a7d6bed61614fce97c279e4
tree259017d9a61483a7ec3aa0e9b16c48fe5bcabb2d
parent8b031871218689e72ecf517ad6d584ae4c659aad
bootstd: Add a USB hunter

Add a hunter for USB which enumerates the bus to find new bootdevs.

Update the tests and speed up bootdev_test_prio() while we are here, by
dropping the USB delays.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/host/usb_bootdev.c
test/boot/bootdev.c