]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: fat: Use do_save() for fatwrite
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Tue, 20 Oct 2020 07:45:46 +0000 (08:45 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 23 Oct 2020 17:33:07 +0000 (13:33 -0400)
commit274227500abc9592f92f5255f6db65e927bc2edd
treec05c1a66c4c126a7a4dd092b48ba4b84749be000
parentf52e925669f16b4db50a6b5a7387958256fa550d
cmd: fat: Use do_save() for fatwrite

do_save() function defined in fs.c also supports FAT file system
re-use the same for fatwrite command.

Also fix the FAT test script to match the expected output.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
cmd/fat.c
test/py/tests/test_fs/test_ext.py