diff options
author | Wolfgang Denk <wd@denx.de> | 2010-10-20 21:08:17 +0200 |
---|---|---|
committer | Remy Bohmer <linux@bohmer.net> | 2010-10-22 21:41:45 +0200 |
commit | 8b675fe18e03d31f1c2a2ad576eab7e57c404751 (patch) | |
tree | 2b7b32ce3a2bda8b0bac82af15b20c07d5a49ff8 /drivers | |
parent | af68c066709f20fcfd0ce6cd955bfbe4642d0a15 (diff) | |
download | u-boot-imx-8b675fe18e03d31f1c2a2ad576eab7e57c404751.zip u-boot-imx-8b675fe18e03d31f1c2a2ad576eab7e57c404751.tar.gz u-boot-imx-8b675fe18e03d31f1c2a2ad576eab7e57c404751.tar.bz2 |
USB: fix Queue Element Transfer Descriptor changes
Commit 3ed1607 "USB: sync Queue Element Transfer Descriptor against
EHCI spec" added an "__attribute__ ((aligned (32)))" to the
declaration of struct qTD, as used for example in the Linux kernel as
well.
However, it turns out that this attribute causes errors in "usb start"
(like "ERROR: NOT USB_CONFIG_DESC 7b" and similar). Drop the attribute
again.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Dan Lykowski <lykowdk@gmail.com>
Cc: Remy Bohmer <linux@bohmer.net>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/host/ehci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index d3aa55b..945ab64 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h @@ -175,7 +175,7 @@ struct qTD { uint32_t qt_buffer_hi[5]; /* Appendix B */ /* pad struct for 32 byte alignment */ uint32_t unused[3]; -} __attribute__ ((aligned (32))); +}; /* Queue Head (QH). */ struct QH { |