Files
u-boot/include
Stephen Warren bd6fb31fab fs: fix generic save command implementation
Fix a few issues with the generic "save" shell command, and fs_write()
function.

1) fstypes[].write wasn't filled in for some file-systems, and isn't
   checked when used, which could cause crashes/... if executing save
   on e.g. fat/ext filesystems.

2) fs_write() requires the length argument to be non-zero, since it needs
   to know exactly how many bytes to write. Adjust the comments and code
   according to this.

3) fs_write() wasn't prototyped in <fs.h> like other generic functions;
   other code should be able to call this directly rather than invoking
   the "save" shell command.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
2014-02-19 09:47:33 -05:00
..
2014-01-24 16:59:07 -05:00
2014-02-04 16:32:20 +01:00
2014-02-04 16:32:20 +01:00
2013-06-26 10:07:11 -04:00
2014-02-03 09:46:45 -07:00
2013-09-24 09:10:33 -04:00
2013-09-20 10:30:54 -04:00
2013-11-09 17:21:01 +01:00
2013-11-09 17:21:01 +01:00
2013-12-04 08:11:28 -05:00
2013-08-28 11:44:59 -04:00