summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-05-05 17:48:12 -0600
committerMarek Vasut <marex@denx.de>2014-05-07 23:36:58 +0200
commit340ed422d2a58c4858ba8e110c233e8ae92c04e0 (patch)
tree0575edc91c96a0d95ab76dbe34930f3d20c59d32 /drivers/usb
parent2813006fecdab740c3745b2dcbb06777cdd51dff (diff)
downloadu-boot-imx-340ed422d2a58c4858ba8e110c233e8ae92c04e0.zip
u-boot-imx-340ed422d2a58c4858ba8e110c233e8ae92c04e0.tar.gz
u-boot-imx-340ed422d2a58c4858ba8e110c233e8ae92c04e0.tar.bz2
usb: ums: remove ci_udc special case
Now that the ci_udc driver supports allocating multiple requests per endpoint, we can revert the special-case added by a022c1e13c01 "usb: ums: use only 1 buffer for CI_UDC". Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/storage_common.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/gadget/storage_common.c b/drivers/usb/gadget/storage_common.c
index 7430074..02803df 100644
--- a/drivers/usb/gadget/storage_common.c
+++ b/drivers/usb/gadget/storage_common.c
@@ -311,11 +311,7 @@ static struct fsg_lun *fsg_lun_from_dev(struct device *dev)
#define DELAYED_STATUS (EP0_BUFSIZE + 999) /* An impossibly large value */
/* Number of buffers we will use. 2 is enough for double-buffering */
-#ifndef CONFIG_CI_UDC
#define FSG_NUM_BUFFERS 2
-#else
-#define FSG_NUM_BUFFERS 1 /* ci_udc only allows 1 req per ep at present */
-#endif
/* Default size of buffer length. */
#define FSG_BUFLEN ((u32)16384)