mtd: add ability to dump a mtd device
authorJohn Crispin <john@openwrt.org>
Tue, 2 Dec 2014 18:27:49 +0000 (18:27 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 2 Dec 2014 18:27:49 +0000 (18:27 +0000)
commitda988d582f30879381debf9e9ddf1f8cd646c3a3
tree4cc6a85a33eb6519f18112cf71ad2a63c7e975ba
parent283d7789eea8cb57e31bc6a06d47c5813ebba283
mtd: add ability to dump a mtd device

this can be used on nand flashes and will skip bad blocks and run ecc on the
read data before dumping it.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43500
package/system/mtd/src/mtd.c