]> git.baikalelectronics.ru Git - uboot.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)
commit0f8ead3f78637c4e6afaf27205a9060aa1e0f5f4
treeb0025b465b2f90aa2baa714822261a4aa0a08730
parent823c798e7934b81955e694a6afb19448a5825e82
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