diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-06-05 19:41:47 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-06-05 19:41:47 +0300 |
commit | bb56df1e1a84304ec4a14169e4cdc41116ed4256 (patch) | |
tree | e3c62334a974d2c29093fe46a96c4be4d4872c04 /ubi-utils/src | |
parent | d021e049efaff50de33819b8cd2835d4b79bcfa8 (diff) |
ubiformat: add a TODO entry
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src')
-rw-r--r-- | ubi-utils/src/ubiformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |