diff options
author | Markus Klotzbuecher <mk@denx.de> | 2007-03-23 09:52:17 +0100 |
---|---|---|
committer | Markus Klotzbuecher <mk@pollux.denx.de> | 2007-03-23 09:52:17 +0100 |
commit | f2b07ebd32e42a5b1126c98efc768ddb8908de62 (patch) | |
tree | e2a374a15d0abf6872fbbdeecf8e34855e56d3c9 /include/usbdcore_omap1510.h | |
parent | 44ba464b99001f8bd1c456a1e9d59726252f707a (diff) | |
parent | 83dc830b1693252d996bda920cd5f3161d7c64a9 (diff) | |
download | u-boot-imx-f2b07ebd32e42a5b1126c98efc768ddb8908de62.zip u-boot-imx-f2b07ebd32e42a5b1126c98efc768ddb8908de62.tar.gz u-boot-imx-f2b07ebd32e42a5b1126c98efc768ddb8908de62.tar.bz2 |
Merge with git://www.denx.de/git/u-boot.git#testing-USB
Diffstat (limited to 'include/usbdcore_omap1510.h')
-rw-r--r-- | include/usbdcore_omap1510.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/include/usbdcore_omap1510.h b/include/usbdcore_omap1510.h index 6ea3331..526fcd9 100644 --- a/include/usbdcore_omap1510.h +++ b/include/usbdcore_omap1510.h @@ -161,10 +161,20 @@ #define UDC_VBUS_CTRL (1 << 19) #define UDC_VBUS_MODE (1 << 18) - -void omap1510_udc_irq(void); -void omap1510_udc_noniso_irq(void); - +/* OMAP Endpoint parameters */ +#define EP0_MAX_PACKET_SIZE 64 +#define UDC_OUT_ENDPOINT 2 +#define UDC_OUT_PACKET_SIZE 64 +#define UDC_IN_ENDPOINT 1 +#define UDC_IN_PACKET_SIZE 64 +#define UDC_INT_ENDPOINT 5 +#define UDC_INT_PKTSIZE 16 +#define UDC_BULK_PKTSIZE 16 + +void udc_irq (void); +/* Flow control */ +void udc_set_nak(int epid); +void udc_unset_nak (int epid); /* Higher level functions for abstracting away from specific device */ void udc_endpoint_write(struct usb_endpoint_instance *endpoint); |