summaryrefslogtreecommitdiffstats
path: root/include/usb.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2012-05-20 22:51:41 +0200
committerWolfgang Denk <wd@denx.de>2012-05-20 22:51:41 +0200
commit2ab5be7af009b4a40efe2fa5471497c97e70ed28 (patch)
tree7c489b7db4927ef433d83d10a26fe48e2e9d1a4a /include/usb.h
parent8fa3d2b8161bb73b759c9db5c811c885ca5ec60c (diff)
parent5f0ffea4559abe3fc83a6023717658a50b22e66c (diff)
downloadtalos-obmc-uboot-2ab5be7af009b4a40efe2fa5471497c97e70ed28.tar.gz
talos-obmc-uboot-2ab5be7af009b4a40efe2fa5471497c97e70ed28.zip
Merge branch 'master' of git://git.denx.de/u-boot-usb
* 'master' of git://git.denx.de/u-boot-usb: USB: S5P: Add ehci support usb:udc:samsung Add functions for storing private gadget data in UDC driver usb:gadget:composite: Support for composite at gadget.h usb:gadget:composite USB composite gadget support usb:udc:samsung:cleanup Replace DEBUG_* macros with debug_cond() calls usb:udc: Remove duplicated USB definitions from include/linux/usb/ch9.h file USB: Document the QH and qTD antics in EHCI-HCD USB: Drop cache flush bloat in EHCI-HCD USB: Drop ehci_alloc/ehci_free in ehci-hcd USB: Align buffers at cacheline usb: use noinline define
Diffstat (limited to 'include/usb.h')
-rw-r--r--include/usb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/usb.h b/include/usb.h
index 48e4bcda54..6da91e7232 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -109,7 +109,9 @@ struct usb_device {
int epmaxpacketout[16]; /* OUTput endpoint specific maximums */
int configno; /* selected config number */
- struct usb_device_descriptor descriptor; /* Device Descriptor */
+ /* Device Descriptor */
+ struct usb_device_descriptor descriptor
+ __attribute__((aligned(ARCH_DMA_MINALIGN)));
struct usb_config config; /* config descriptor */
int have_langid; /* whether string_langid is valid yet */
OpenPOWER on IntegriCloud