Skip to content
Snippets Groups Projects
Commit 8b675fe1 authored by Wolfgang Denk's avatar Wolfgang Denk Committed by Remy Bohmer
Browse files

USB: fix Queue Element Transfer Descriptor changes


Commit 3ed16071 "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: default avatarWolfgang Denk <wd@denx.de>
Cc: Dan Lykowski <lykowdk@gmail.com>
Cc: Remy Bohmer <linux@bohmer.net>
Cc: Stefano Babic <sbabic@denx.de>
parent af68c066
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment