summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2017-01-26 20:22:36 +0000
committerTom Rini <trini@konsulko.com>2017-01-28 14:04:51 -0500
commitb352caea752f9e840863ade43da67ff0272e8594 (patch)
treed507bc1c0b51a8a010dafe235bd40c33265bfe6e /cmd
parenta55bed1208b0e912f9a0025039b9740b692933d2 (diff)
downloadu-boot-imx-b352caea752f9e840863ade43da67ff0272e8594.zip
u-boot-imx-b352caea752f9e840863ade43da67ff0272e8594.tar.gz
u-boot-imx-b352caea752f9e840863ade43da67ff0272e8594.tar.bz2
fs/fat: Fix unaligned __u16 reads for FAT12 access
Doing unaligned reads is not supported on all architectures, use byte sized reads of the little endian buffer. Rename off16 to off8, as it reflects the buffer offset in byte granularity (offset is in entry, i.e. 12 bit, granularity). Fix a regression introduced in 8d48c92b45aea91e2a2be90f2ed93677e85526f1 Reported-by: Oleksandr Tymoshenko <gonzo@bluezbox.com> Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Tested-by: Oleksandr Tymoshenko <gonzo@bluezbox.com>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions