summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2012-05-28 12:12:34 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2012-05-29 10:39:17 +0200
commitc837b8e19e1284581b270509c157c8d3d3a0492e (patch)
treee6fea52a692f27a32442ddfd00471d9d8b290ae3
parentf8e83c05d9dc9757009c0c848a21493e37f5b5f6 (diff)
downloadbarebox-c837b8e19e1284581b270509c157c8d3d3a0492e.tar.gz
barebox-c837b8e19e1284581b270509c157c8d3d3a0492e.tar.xz
usb: set MAXINTERFACES = 16
Tegra2 needs MAXINTERFACES > 8, so increase the macro's value. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--include/usb/usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb/usb.h b/include/usb/usb.h
index a61a00865e..296e4e8ea8 100644
--- a/include/usb/usb.h
+++ b/include/usb/usb.h
@@ -38,7 +38,7 @@
#define USB_MAX_DEVICE 32
#define USB_MAXCONFIG 8
-#define USB_MAXINTERFACES 8
+#define USB_MAXINTERFACES 16
#define USB_MAXENDPOINTS 16
#define USB_MAXCHILDREN 8 /* This is arbitrary */
#define USB_MAX_HUB 16