summaryrefslogtreecommitdiff
path: root/common/usb.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-12 20:02:04 -0400
committerTom Rini <trini@konsulko.com>2022-06-28 17:11:48 -0400
commit3371eddaa10212b1303b2de305e1d976fe7770ca (patch)
tree1328087906bd0b877adb77a563c750544149855d /common/usb.c
parent525fbfabf1f91bde3bd8fc8aa3ec8504e77c074f (diff)
downloadu-boot-3371eddaa10212b1303b2de305e1d976fe7770ca.tar.gz
u-boot-3371eddaa10212b1303b2de305e1d976fe7770ca.tar.bz2
u-boot-3371eddaa10212b1303b2de305e1d976fe7770ca.zip
Convert CONFIG_USB_MAX_CONTROLLER_COUNT to Kconfig
This converts the following to Kconfig: CONFIG_USB_MAX_CONTROLLER_COUNT Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/usb.c')
-rw-r--r--common/usb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/usb.c b/common/usb.c
index aad13fd9c5..6fcf1e8428 100644
--- a/common/usb.c
+++ b/common/usb.c
@@ -49,10 +49,6 @@ char usb_started; /* flag for the started/stopped USB status */
static struct usb_device usb_dev[USB_MAX_DEVICE];
static int dev_index;
-#ifndef CONFIG_USB_MAX_CONTROLLER_COUNT
-#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
-#endif
-
/***************************************************************************
* Init USB Device
*/