summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2013-10-10 15:27:58 -0700
committerMarek Vasut <marex@denx.de>2013-10-20 23:46:29 +0200
commit8287314888b15ed39ce05b06f60372768ca12d08 (patch)
treebcb40ece1a6d13b9c49a2a14ed7db07684d65974 /drivers
parent127efc4fe8cfc3ed525650b1ccbad9c3402e8d5d (diff)
downloadu-boot-imx-8287314888b15ed39ce05b06f60372768ca12d08.zip
u-boot-imx-8287314888b15ed39ce05b06f60372768ca12d08.tar.gz
u-boot-imx-8287314888b15ed39ce05b06f60372768ca12d08.tar.bz2
usb: gadget: mv_udc: don't check CONFIG_USB_MAX_CONTROLLER_COUNT
i.mx6 has 1 otg controller, and 3 host ports. So, CONFIG_USB_MAX_CONTROLLER_COUNT can be greater than 1 even though only 1 device mode controller is supported. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/mv_udc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c
index 83bd075..e330bbd 100644
--- a/drivers/usb/gadget/mv_udc.c
+++ b/drivers/usb/gadget/mv_udc.c
@@ -17,10 +17,6 @@
#include <linux/types.h>
#include <usb/mv_udc.h>
-#if CONFIG_USB_MAX_CONTROLLER_COUNT > 1
-#error This driver only supports one single controller.
-#endif
-
/*
* Check if the system has too long cachelines. If the cachelines are
* longer then 128b, the driver will not be able flush/invalidate data