barebox/include/mtd
Sascha Hauer 1e6955fdb8 commands: Create nand_bitflip command
This adds a command to flip bits in a Nand flash. This is useful for
testing purposes to check if flipped bits are corrected and if the
driver returns the correct number of bitflips.

The command writes a configurable number of bitflips to a single Nand
page. If the -r option is not given the results are reproducible, so
calling the same command twice will revert the bitflips.

The command uses the raw read/write Nand operations which are probably
less tested than the regular read/write operations, so the command may
produce surprising results.

As of writing the command has been tested with the GPMI Nand driver and
the imx-nand driver with fixes posted.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2016-04-06 10:17:53 +02:00
..
libscan.h ubiformat: Use mtd-peb API 2016-04-06 10:17:52 +02:00
libubigen.h ubiformat: Use mtd-peb API 2016-04-06 10:17:52 +02:00
mtd-peb.h commands: Create nand_bitflip command 2016-04-06 10:17:53 +02:00
ubi-media.h UBI: reimport UBI from Linux v3.10 2013-07-25 10:24:16 +02:00
ubi-user.h UBI: reimport UBI from Linux v3.10 2013-07-25 10:24:16 +02:00
utils.h mtd: utils: apply macros for message printouts 2012-12-19 10:31:23 +01:00