From bb56df1e1a84304ec4a14169e4cdc41116ed4256 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Fri, 5 Jun 2009 19:41:47 +0300 Subject: ubiformat: add a TODO entry Signed-off-by: Artem Bityutskiy --- ubi-utils/src/ubiformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubi-utils/src/ubiformat.c b/ubi-utils/src/ubiformat.c index b9d3f79..a3df281 100644 --- a/ubi-utils/src/ubiformat.c +++ b/ubi-utils/src/ubiformat.c @@ -392,6 +392,7 @@ static int consecutive_bad_check(int eb) return 0; } +/* TODO: we should actually torture the PEB before marking it as bad */ static int mark_bad(const struct mtd_dev_info *mtd, struct ubi_scan_info *si, int eb) { int err; @@ -529,7 +530,6 @@ static int flash_image(const struct mtd_dev_info *mtd, struct ubi_scan_info *si) if (errno != EIO) goto out_close; - if (mark_bad(mtd, si, eb)) { normsg("operation incomplete"); goto out_close; -- cgit v1.2.3