From a8f6ab5229fb4cd8299df84c8698e128b5125a8e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 20 Apr 2013 08:42:50 +0000 Subject: 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 --- include/fs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 */ -- cgit v1.1