]> git.baikalelectronics.ru Git - uboot.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)
commitc6efcd2e9329bce993408128ee0f80f60792a932
treec05c1a66c4c126a7a4dd092b48ba4b84749be000
parent98cb944d9207fc7a4cb00ef8dc287a22e193bef5
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