tegra: Test on CONFIG_CMD_USB being enabled for distro bootcmd
authorTom Rini <trini@konsulko.com>
Fri, 9 Jul 2021 14:11:54 +0000 (10:11 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 19 Jul 2021 01:05:31 +0000 (21:05 -0400)
commit3fa03bcf8c67f3636104ecfc941f80af5b31ad9a
treebcc498577926246c6363012c55cafef67d40e754
parent67b77d72f408b71194d008b4c1bbb1f1c2470039
tegra: Test on CONFIG_CMD_USB being enabled for distro bootcmd

Reuse the common logic to allow for BOOT_TARGET_DEVICES to list USB as a
possibility if we're building for a platform that will have USB but not
if we don't, so that we don't hit the link-time check for trying to have
USB boot on a non-USB system.

Acked-by: Tom Warren <twarren@nvidia.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
include/configs/tegra-common-post.h