]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
USB: fix Queue Element Transfer Descriptor changes
authorWolfgang Denk <wd@denx.de>
Wed, 20 Oct 2010 19:08:17 +0000 (21:08 +0200)
committerRemy Bohmer <linux@bohmer.net>
Fri, 22 Oct 2010 19:41:45 +0000 (21:41 +0200)
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>
drivers/usb/host/ehci.h

index d3aa55b4a6c70a40ff6f584b22ca8b482b4d7c4e..945ab64f95119fbf8790813f43a540af2d63d64b 100644 (file)
@@ -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 {