summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authordavid.oberhollenzer@sigma-star.at <david.oberhollenzer@sigma-star.at>2015-03-26 23:59:50 +0100
committerRichard Weinberger <richard@nod.at>2015-04-13 21:05:17 +0200
commit502690674281a047abd45f81e64c498bc23a8bb3 (patch)
tree5aa08ca80d7de94bf0b3050a7f458ad0ed25d004 /crypto
parent1a7e985dd1bf5939af0f56bbd6d13d2caf48dd63 (diff)
downloadlinux-stable-502690674281a047abd45f81e64c498bc23a8bb3.tar.gz
linux-stable-502690674281a047abd45f81e64c498bc23a8bb3.tar.bz2
linux-stable-502690674281a047abd45f81e64c498bc23a8bb3.zip
UBI: power cut emulation for testing
Emulate random power cuts by switching device to ro after a number of writes to allow simple power cut testing with nand-sim. Maximum and minimum number of successful writes before power cut and what kind of writes (EC header, VID header or none) to interrupt configurable via debugfs. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions