diff options
author | Kyle Moffett <Kyle.D.Moffett@boeing.com> | 2011-12-21 07:08:10 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-01-05 20:10:06 +0100 |
commit | 9813b750f32c0056f0a35813b9a9ec0f68b664af (patch) | |
tree | 8e9f487ab2a7be1fd914dd98507521626e4e6a02 /onenand_ipl | |
parent | 26784f1ecb5002aa309f2aefcb1157a9282a2007 (diff) | |
download | u-boot-imx-9813b750f32c0056f0a35813b9a9ec0f68b664af.zip u-boot-imx-9813b750f32c0056f0a35813b9a9ec0f68b664af.tar.gz u-boot-imx-9813b750f32c0056f0a35813b9a9ec0f68b664af.tar.bz2 |
fs/fat: Fix FAT detection to support non-DOS partition tables
The FAT filesystem code currently ends up requiring that the partition
table be a DOS MBR, as it checks for the DOS 0x55 0xAA signature on the
partition table (which may be Mac, EFI, ISO9660, etc) before actually
computing the partition offset.
This fixes support for accessing a FAT filesystem in an ISO9660 boot
volume (El-Torito format) by reordering the filesystem checks and
reading the 0x55 0xAA "DOS boot signature" and FAT/FAT32 magic number
from the first sector of the partition instead of from sector 0.
Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Fix build warning: fat.c: In function 'fat_register_device':
fat.c:66:15: warning: variable 'found_partition' set but not used
[-Wunused-but-set-variable]
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'onenand_ipl')
0 files changed, 0 insertions, 0 deletions