diff options
author | Xiaolei Li <xiaolei.li@mediatek.com> | 2018-04-10 15:36:57 +0800 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2018-04-10 15:39:01 +0200 |
commit | ba145d80e239fdac6414b347568c62bc2f6cb9a2 (patch) | |
tree | 1e2d4f438028f36e6cc1fe489cad12d79d5461b0 /tests/fs-tests/Makefile | |
parent | 165f2cd9f5d63fb3b3200d2ad202cf3e4f820fc4 (diff) |
misc-utils: flash_erase: Fix Jffs2 type flash erase problem
Currently, Jffs2 clean marker is not written actually, because the oob
write length is set to 0 when do mtd_write().
So, get OOB available size at first, and set the correct clean marker
length, then program clean marker to free OOB area.
Fixes: d7e86124d55b ("mtd-utils: Support jffs2 flash-erase for large OOB (>32b)")
Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/fs-tests/Makefile')
0 files changed, 0 insertions, 0 deletions