summaryrefslogtreecommitdiff
path: root/include/ext_common.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-10-22 06:43:51 +0000
committerTom Rini <trini@ti.com>2012-10-29 14:21:20 -0700
commit045fa1e1142552799ad3203e9e0bc22a11e866ea (patch)
tree038b783c8efac14c0caffa128f37b77a48c9f407 /include/ext_common.h
parent03e2ecf6b83e43803f7eed9547d0973b7eb1c8fc (diff)
downloadu-boot-045fa1e1142552799ad3203e9e0bc22a11e866ea.tar.gz
u-boot-045fa1e1142552799ad3203e9e0bc22a11e866ea.tar.bz2
u-boot-045fa1e1142552799ad3203e9e0bc22a11e866ea.zip
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>
Diffstat (limited to 'include/ext_common.h')
-rw-r--r--include/ext_common.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/ext_common.h b/include/ext_common.h
index ce73857f8d..86373a6e50 100644
--- a/include/ext_common.h
+++ b/include/ext_common.h
@@ -195,7 +195,4 @@ int do_ext4_load(cmd_tbl_t *cmdtp, int flag, int argc,
int do_ext4_ls(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]);
int do_ext4_write(cmd_tbl_t *cmdtp, int flag, int argc,
char *const argv[]);
-int do_ext_load(cmd_tbl_t *cmdtp, int flag, int argc,
- char *const argv[]);
-int do_ext_ls(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]);
#endif