u-boot-brain/fs
Stephen Warren bd1a7e3034 FAT: check for partition 0 not 1 for whole-disk fs
The recent switch to use get_device_and_partition() from do_fat_ls()
broke the ability to access a FAT filesystem directly on a whole device;
FAT only works within a partition on a device.

This change makes e.g. "fatls mmc 0:0" work; explicitly requesting
partition ID 0 is something that get_device_and_partition() fully
supports. However, fat_register_device() expects partition ID 1 to be
used in the full-disk case; partition ID 1 was previously implicitly
specified when the user didn't actually specify a partition ID. Update
fat_register_device() to expect the correct ID.

This change does imply that if a user explicitly executes "fatls mmc 0:1"
then this will fail, and may be a change in behaviour.

Note that this still prevents "fatls mmc 0:auto" from working. The next
patch will fix that.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
2012-10-08 11:15:04 -07:00
..
cramfs gunzip: rename z{alloc, free} to gz{alloc, free} 2012-04-30 16:54:51 +02:00
ext4 ext4: Rename block group descriptor table from gd to bgd 2012-10-03 18:21:33 -07:00
fat FAT: check for partition 0 not 1 for whole-disk fs 2012-10-08 11:15:04 -07:00
fdos Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
jffs2 linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
reiserfs cmd_reiser: use common get_device_and_partition function 2012-09-25 14:49:18 -07:00
ubifs ubifs: Fix ubifsload when using ZLIB 2012-09-10 11:37:42 +02:00
yaffs2 u-boot yaffs2: Fix compilation warnings 2012-09-02 16:47:50 +02:00
zfs cmd_zfs: use common get_device_and_partition function 2012-09-25 14:49:17 -07:00
Makefile ext4fs ls load support 2012-08-09 23:47:43 +02:00