summaryrefslogtreecommitdiff
path: root/include/fs.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-04-20 08:42:50 +0000
committerTom Rini <trini@ti.com>2013-05-01 11:17:21 -0400
commita8f6ab5229fb4cd8299df84c8698e128b5125a8e (patch)
tree24212cc0526acebfb6ddfeb08781aa01e019cb90 /include/fs.h
parent4ca30d60248b42ac6f949b3e797fbec939387cb0 (diff)
downloadu-boot-imx-a8f6ab5229fb4cd8299df84c8698e128b5125a8e.zip
u-boot-imx-a8f6ab5229fb4cd8299df84c8698e128b5125a8e.tar.gz
u-boot-imx-a8f6ab5229fb4cd8299df84c8698e128b5125a8e.tar.bz2
fs: Add support for saving data to filesystems
Add a new method for saving that filesystems can implement. This mirrors the existing load method. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/fs.h')
-rw-r--r--include/fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fs.h b/include/fs.h
index b6d69e5..c837bae 100644
--- a/include/fs.h
+++ b/include/fs.h
@@ -62,5 +62,7 @@ int do_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[],
int fstype, int cmdline_base);
int do_ls(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[],
int fstype);
+int do_save(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[],
+ int fstype, int cmdline_base);
#endif /* _FS_H */