Skip to content
Snippets Groups Projects
Commit 3287f6d3 authored by Benoît Thébaudeau's avatar Benoît Thébaudeau Committed by Scott Wood
Browse files

nand: Add torture feature


This patch adds a NAND Flash torture feature, which is useful as a block stress
test to determine if a block is still good and reliable (or should be marked as
bad), e.g. after a write error.

This code is ported from mtd-utils' lib/libmtd.c.

Signed-off-by: default avatarBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Scott Wood <scottwood@freescale.com>
[scottwood@freescale.com: removed unnec. ifdef and unwrapped error strings]
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent 8156f732
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment