diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2017-01-11 14:02:04 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2017-01-12 11:02:19 +0100 |
commit | 6df83fd628ece2a44da325951bbfc5c33e3c6866 (patch) | |
tree | 1f3e5eda5346563eeb5512285b98978a34b81ce8 /tests/fs-tests/stress/atoms | |
parent | 7b8981af83b2c6decad32673111dce8d416dbb2e (diff) |
nandwrite: fix/cleanup bad block skipping
JFFS2 supports clustering erase blocks to virtual erase blocks.
nandwrite supports this, but previously mixed up virtual and
physical erase block numbers when checking for bad blocks.
This patch adds a function for checking if a virtual erase block
is bad and replaces the broken mtd_is_bad loop.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/fs-tests/stress/atoms')
0 files changed, 0 insertions, 0 deletions