summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@gmail.com>2006-04-22 08:58:37 -0500
committerJosh Boyer <jwboyer@gmail.com>2006-04-22 08:58:37 -0500
commit4af25d6c4a59ec3922a21b8f6d000e27770b04cd (patch)
treeddcd12e9684ef7690e71208e90df02270c6da3dc
parent0e28aabbd96ae99615a325af41bbcd9f92bb1fe9 (diff)
Fix mtd_debug after removal of some MTD types and flags
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
-rw-r--r--mtd_debug.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/mtd_debug.c b/mtd_debug.c
index 8f5214e..7d1223c 100644
--- a/mtd_debug.c
+++ b/mtd_debug.c
@@ -272,15 +272,6 @@ int showinfo (int fd)
case MTD_NANDFLASH:
printf ("MTD_NANDFLASH");
break;
- case MTD_PEROM:
- printf ("MTD_PEROM");
- break;
- case MTD_OTHER:
- printf ("MTD_OTHER");
- break;
- case MTD_UNKNOWN:
- printf ("MTD_UNKNOWN");
- break;
default:
printf ("(unknown type - new MTD API maybe?)");
}
@@ -307,11 +298,6 @@ int showinfo (int fd)
{
{ "MTD_CLEAR_BITS", MTD_CLEAR_BITS },
{ "MTD_SET_BITS", MTD_SET_BITS },
- { "MTD_ERASEABLE", MTD_ERASEABLE },
- { "MTD_WRITEB_WRITEABLE", MTD_WRITEB_WRITEABLE },
- { "MTD_VOLATILE", MTD_VOLATILE },
- { "MTD_XIP", MTD_XIP },
- { "MTD_OOB", MTD_OOB },
{ "MTD_ECC", MTD_ECC },
{ NULL, -1 }
};