usb: do explicit unaligned accesses
authorLucas Stach <dev@lynxeye.de>
Thu, 6 Sep 2012 06:00:13 +0000 (08:00 +0200)
committerMarek Vasut <marex@denx.de>
Thu, 20 Sep 2012 22:05:00 +0000 (00:05 +0200)
usb_hub_descriptor has to be packed as it's used for
communication with the device. Member wHubCharacteristics
violates the natural alignment rules.

Use explicit unaligned access functions for this member.
Fixes ARMv7 traping while using USB.

v2: fix typo found by Thomas Langer

v3: rebased on top of u-boot-usb/master

Signed-off-by: Lucas Stach <dev@lynxeye.de>

No differences found