From 9c71d77506e02a5280b516843521d91196cde451 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Mon, 4 Feb 2008 17:32:01 +0200 Subject: mtd_debug: support new flags Signed-off-by: Artem Bityutskiy --- mtd_debug.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mtd_debug.c') diff --git a/mtd_debug.c b/mtd_debug.c index b44e952..85d48e9 100644 --- a/mtd_debug.c +++ b/mtd_debug.c @@ -272,6 +272,8 @@ int showinfo (int fd) case MTD_DATAFLASH: printf ("MTD_DATAFLASH"); break; + case MTD_UBIVOLUME: + printf ("MTD_UBIVOLUME"); default: printf ("(unknown type - new MTD API maybe?)"); } @@ -298,6 +300,8 @@ int showinfo (int fd) { { "MTD_WRITEABLE", MTD_WRITEABLE }, { "MTD_BIT_WRITEABLE", MTD_BIT_WRITEABLE }, + { "MTD_NO_ERASE", MTD_NO_ERASE }, + { "MTD_STUPID_LOCK", MTD_STUPID_LOCK }, { NULL, -1 } }; for (i = 0; flags[i].name != NULL; i++) -- cgit v1.2.3