summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorAlexander Kurz <akurz@blala.de>2018-12-24 10:16:42 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2019-01-04 08:21:31 +0100
commit83842b8174515db446a33fda788b6df68a74bc09 (patch)
tree168a15bf747c7f68135cb9c23e18b1825184a4e4 /README
parent0835bab7e51bb1d4db6e5210ffa82cf5a28cd5c4 (diff)
downloadbarebox-83842b8174515db446a33fda788b6df68a74bc09.tar.gz
barebox-83842b8174515db446a33fda788b6df68a74bc09.tar.xz
fs/fat: fix FAT32 detection
Limits for the number of clusters were used to determine the FAT fs type. This fails e.g. for FAT32 fs with low cluster number that can be found in certain Android images. Sync the FAT fs type detection to the method used in linux by checking the sectors/FAT entries at offset 0x16 (must be zero for FAT32) and offset 0x24 (must be non-zero for FAT32). Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions