u-boot/fs
Kyle Moffett 9813b750f3 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>
2012-01-05 20:10:06 +01:00
..
cramfs cramfs: make cramfs usable without a NOR flash 2011-05-10 22:47:32 +02:00
ext2 ext2: Cache line align indirection buffers 2012-01-05 17:12:11 +01:00
fat fs/fat: Fix FAT detection to support non-DOS partition tables 2012-01-05 20:10:06 +01:00
fdos Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
jffs2 fs/jffs2/jffs2_1pass.c: fix warning: variable ... set but not used 2011-10-09 23:24:49 +02:00
reiserfs fs/reiserfs/reiserfs.c: Fix compiler warning 2011-12-12 14:25:30 +01:00
ubifs ubifs bad superblock bug 2011-10-12 11:33:17 +02:00
yaffs2 fs/yaffs2/yaffs_guts.c: Fix GCC 4.6 compile warning (and bug) 2011-12-10 23:08:49 +01:00
Makefile UBIFS: Implement read-only UBIFS support in U-Boot 2009-03-20 22:39:15 +01:00