From 0e9ed134f2092cef975f05aea2c1e415137e0c10 Mon Sep 17 00:00:00 2001 From: Roger Quadros Date: Thu, 26 Mar 2009 14:14:27 +0200 Subject: ubiformat: mark faulty blocks as bad Few minor amendments by Artem. And increase the utility version number. Signed-off-by: Roger Quadros Signed-off-by: Artem Bityutskiy --- ubi-utils/include/libmtd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ubi-utils/include') 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); -- cgit v1.2.3