summaryrefslogtreecommitdiff
path: root/tests/fs-tests/lib/tests.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-01-11 14:02:04 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-01-12 11:02:19 +0100
commit6df83fd628ece2a44da325951bbfc5c33e3c6866 (patch)
tree1f3e5eda5346563eeb5512285b98978a34b81ce8 /tests/fs-tests/lib/tests.h
parent7b8981af83b2c6decad32673111dce8d416dbb2e (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/lib/tests.h')
0 files changed, 0 insertions, 0 deletions