]> git.sur5r.net Git - u-boot/commit
fs: add filesystem switch libary, implement ls and fsload commands
authorStephen Warren <swarren@nvidia.com>
Mon, 22 Oct 2012 06:43:51 +0000 (06:43 +0000)
committerTom Rini <trini@ti.com>
Mon, 29 Oct 2012 21:21:20 +0000 (14:21 -0700)
commit045fa1e1142552799ad3203e9e0bc22a11e866ea
tree038b783c8efac14c0caffa128f37b77a48c9f407
parent03e2ecf6b83e43803f7eed9547d0973b7eb1c8fc
fs: add filesystem switch libary, implement ls and fsload commands

Implement "ls" and "fsload" commands that act like {fat,ext2}{ls,load},
and transparently handle either file-system. This scheme could easily be
extended to other filesystem types; I only didn't do it for zfs because
I don't have any filesystems of that type to test with.

Replace the implementation of {fat,ext[24]}{ls,load} with this new code
too.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Makefile
common/Makefile
common/cmd_ext2.c
common/cmd_ext4.c
common/cmd_ext_common.c [deleted file]
common/cmd_fat.c
common/cmd_fs.c [new file with mode: 0644]
fs/Makefile [new file with mode: 0644]
fs/fs.c [new file with mode: 0644]
include/ext_common.h
include/fs.h [new file with mode: 0644]