]> git.ipfire.org Git - people/ms/u-boot.git/commit
fs/fat: simplify get_fatent for FAT12
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sat, 17 Dec 2016 02:55:10 +0000 (03:55 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 27 Dec 2016 16:24:14 +0000 (11:24 -0500)
commit8d48c92b45aea91e2a2be90f2ed93677e85526f1
tree49ef92c31096aafe1ca76a03fe088d997f7512ad
parentb8948d2aef80717d3d2c4f37ec086ce3ea5ad24f
fs/fat: simplify get_fatent for FAT12

Instead of shuffling bits from two adjacent 16 bit words, use one 16 bit
word with the appropriate byte offset in the buffer.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
fs/fat/fat.c