Use unaligned access to fetch wMaxPacketSize in usb_endpoint_maxp() api. In its absence we see following data abort message: ============================================================== data abort MAYBE you should read doc/README.arm-unaligned-accesses pc : [<bf794e24>] lr : [<bf794e1c>] sp : bf37c7b0 ip : 0000002f fp : 00000000 r10: 00000000 r9 : 00000002 r8 : bf37fecc r7 : 00000001 r6 : bf7d8931 r5 : bf7d891c r4 : bf7d8800 r3 : bf7d65b0 r2 : 00000002 r1 : bf7d65b4 r0 : 00000027 Flags: nZCv IRQs off FIQs off Mode SVC_32 Resetting CPU ... resetting ... ============================================================== Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com> Cc: Ilya Yanok <ilya.yanok@cogentembedded.com> Cc: Marek Vasut <marex@denx.de> |
||
---|---|---|
.. | ||
byteorder | ||
mtd | ||
unaligned | ||
usb | ||
apm_bios.h | ||
bch.h | ||
bitops.h | ||
bitrev.h | ||
compat.h | ||
compiler-gcc.h | ||
compiler-gcc3.h | ||
compiler-gcc4.h | ||
compiler.h | ||
config.h | ||
crc7.h | ||
crc32.h | ||
ctype.h | ||
edd.h | ||
err.h | ||
ethtool.h | ||
fb.h | ||
input.h | ||
ioctl.h | ||
ioport.h | ||
kbuild.h | ||
linkage.h | ||
linux_string.h | ||
list.h | ||
lzo.h | ||
math64.h | ||
mc146818rtc.h | ||
mdio.h | ||
mii.h | ||
netdevice.h | ||
poison.h | ||
posix_types.h | ||
rbtree.h | ||
screen_info.h | ||
stat.h | ||
stddef.h | ||
string.h | ||
stringify.h | ||
time.h | ||
types.h |