summaryrefslogtreecommitdiffstats
path: root/include/usb_defs.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2005-08-01 16:41:48 +0200
committerStefan Roese <stefan@debian.(none)>2005-08-01 16:41:48 +0200
commitc157d8e219694f5c3dea1ed3826668bdc67ca093 (patch)
tree0db7954a0b50e4b5f2a5da2e007ea82a965c6663 /include/usb_defs.h
parent15f36a5efd31fe608b43dc197ebbd80d3cecbe44 (diff)
downloadtalos-obmc-uboot-c157d8e219694f5c3dea1ed3826668bdc67ca093.tar.gz
talos-obmc-uboot-c157d8e219694f5c3dea1ed3826668bdc67ca093.zip
Add support for AMCC PPC440EP/GR eval boards Yosemite and Yellowstone.
Patch by Steven Blakeslee, 27 Jul 2005
Diffstat (limited to 'include/usb_defs.h')
-rw-r--r--include/usb_defs.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/usb_defs.h b/include/usb_defs.h
index 353019fc16..33d1e46f2d 100644
--- a/include/usb_defs.h
+++ b/include/usb_defs.h
@@ -26,6 +26,20 @@
#ifndef _USB_DEFS_H_
#define _USB_DEFS_H_
+
+/* Everything is aribtrary */
+#define USB_ALTSETTINGALLOC 4
+#define USB_MAXALTSETTING 128 /* Hard limit */
+
+#define USB_MAX_DEVICE 32
+#define USB_MAXCONFIG 8
+#define USB_MAXINTERFACES 8
+#define USB_MAXENDPOINTS 16
+#define USB_MAXCHILDREN 8 /* This is arbitrary */
+#define USB_MAX_HUB 16
+
+#define USB_CNTL_TIMEOUT 100 /* 100ms timeout */
+
/* USB constants */
/* Device and/or Interface Class codes */
OpenPOWER on IntegriCloud