From e8d3eaadcd9474a7e2e2f3af51ad044c3ff2ad80 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 9 Jul 2021 10:11:55 -0400 Subject: treewide: Test on CONFIG_USB_HOST (or CONFIG_CMD_USB) not CONFIG_USB 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 --- include/configs/stm32mp1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/configs/stm32mp1.h') diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h index 2e7f49e7bb..b372838be8 100644 --- a/include/configs/stm32mp1.h +++ b/include/configs/stm32mp1.h @@ -101,7 +101,7 @@ #define BOOT_TARGET_UBIFS(func) #endif -#ifdef CONFIG_USB +#ifdef CONFIG_CMD_USB #define BOOT_TARGET_USB(func) func(USB, usb, 0) #else #define BOOT_TARGET_USB(func) -- cgit v1.2.3