diff options
author | Lucas Stach <dev@lynxeye.de> | 2012-09-06 08:00:13 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2012-09-21 00:05:00 +0200 |
commit | 93ad908c43ed5d8e3e546dd22fa08b668c5090d9 (patch) | |
tree | af7d9ef75657572108bdc48f671010c82cbcfce3 /post/cpu | |
parent | 81c1d7b605e1a48d3c02248c5e51fabcf42f5014 (diff) | |
download | u-boot-imx-93ad908c43ed5d8e3e546dd22fa08b668c5090d9.zip u-boot-imx-93ad908c43ed5d8e3e546dd22fa08b668c5090d9.tar.gz u-boot-imx-93ad908c43ed5d8e3e546dd22fa08b668c5090d9.tar.bz2 |
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>
Diffstat (limited to 'post/cpu')
0 files changed, 0 insertions, 0 deletions