[PATCHv2 3/4] treewide: Test on CONFIG_USB_HOST (or CONFIG_CMD_USB) not CONFIG_USB

Tom Rini trini at konsulko.com
Mon Jul 19 14:26:05 CEST 2021


On Fri, Jul 09, 2021 at 10:11:55AM -0400, Tom Rini wrote:

> As the logic here is only used when we have a USB host controller, test
> on CONFIG_USB_HOST rather than CONFIG_USB in general.  This lets us move
> towards using CONFIG_USB only as a menu symbol to say that we have some
> form of USB, and then USB_HOST or USB_GADGET depending on the role that
> USB plays within the build.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210719/f6783b88/attachment.sig>


More information about the U-Boot mailing list