summaryrefslogtreecommitdiff
path: root/ubi-utils/include
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/include')
-rw-r--r--ubi-utils/include/libmtd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ubi-utils/include/libmtd.h b/ubi-utils/include/libmtd.h
index d3c6a63..032dafb 100644
--- a/ubi-utils/include/libmtd.h
+++ b/ubi-utils/include/libmtd.h
@@ -63,6 +63,7 @@ struct mtd_info
int mtd_get_info(const char *node, struct mtd_info *mtd);
int mtd_erase(const struct mtd_info *mtd, int eb);
int mtd_is_bad(const struct mtd_info *mtd, int eb);
+int mtd_mark_bad(const struct mtd_info *mtd, int eb);
int mtd_read(const struct mtd_info *mtd, int eb, int offs, void *buf, int len);
int mtd_write(const struct mtd_info *mtd, int eb, int offs, void *buf, int len);