blob: f437c776c54f499614746b78492d0d38139049af [file] [log] [blame]
Akinobu Mita084db4b2013-08-03 18:52:07 +09001#include <linux/mtd/mtd.h>
2
3int mtdtest_erase_eraseblock(struct mtd_info *mtd, unsigned int ebnum);
4int mtdtest_scan_for_bad_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
5 unsigned int eb, int ebcnt);
6int mtdtest_erase_good_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
7 unsigned int eb, int ebcnt);
8
9int mtdtest_read(struct mtd_info *mtd, loff_t addr, size_t size, void *buf);
10int mtdtest_write(struct mtd_info *mtd, loff_t addr, size_t size,
11 const void *buf);