]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: bootdev: Do not require USB to compile test
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 23 Jan 2023 22:07:21 +0000 (23:07 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 6 Feb 2023 18:04:52 +0000 (13:04 -0500)
commit0c1413f6d748d7bb685ad3b554edce6a9ca5c09d
treeb0025b465b2f90aa2baa714822261a4aa0a08730
parent4209c4736475de4186dc1006d3b929a51b664f73
test: bootdev: Do not require USB to compile test

This test will block compilation of the entire test suite
on platforms without USB support. Make the extern
"usb_started" conditional on USB host or gadget and
define a dummy flag if neither is enabled.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/boot/bootdev.c