commit | 835e11e093784ae71d44034a1917903ce5f05a97 | [log] [tgz] |
---|---|---|
author | Lucas Stach <dev@lynxeye.de> | Thu Sep 06 08:00:13 2012 +0200 |
committer | Marek Vasut <marex@denx.de> | Fri Sep 21 00:05:00 2012 +0200 |
tree | af7d9ef75657572108bdc48f671010c82cbcfce3 | |
parent | 180e3dd950e0ca5d8ccefeaba2b63f3a05e57cbb [diff] |
usb: do explicit unaligned accesses 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>