]> git.dujemihanovic.xyz Git - u-boot.git/commit
FAT: implement fat_set_blk_dev(), convert cmd_fat.c
authorStephen Warren <swarren@nvidia.com>
Wed, 17 Oct 2012 06:44:59 +0000 (06:44 +0000)
committerTom Rini <trini@ti.com>
Thu, 25 Oct 2012 19:07:47 +0000 (12:07 -0700)
commit5e8f98319d8582d6a066610b5f1ec9b1a3f79704
tree625c16325a8685444c3fddc6959c526ea62bcd63
parenta1687b858e5670683199f6923b32aec0ea82ba19
FAT: implement fat_set_blk_dev(), convert cmd_fat.c

This makes the FAT filesystem API more consistent with other block-based
filesystems. If in the future standard multi-filesystem commands such as
"ls" or "load" are implemented, having FAT work the same way as other
filesystems will be necessary.

Convert cmd_fat.c to the new API, so the code looks more like other files
implementing the same commands for other filesystems.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
common/cmd_fat.c
fs/fat/fat.c
include/fat.h