summaryrefslogtreecommitdiff
path: root/mtd_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'mtd_debug.c')
-rw-r--r--mtd_debug.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/mtd_debug.c b/mtd_debug.c
index 6ef7e31..ee3c67c 100644
--- a/mtd_debug.c
+++ b/mtd_debug.c
@@ -260,18 +260,15 @@ int showinfo (int fd)
case MTD_ABSENT:
printf ("MTD_ABSENT");
break;
- case MTD_RAM:
- printf ("MTD_RAM");
- break;
- case MTD_ROM:
- printf ("MTD_ROM");
- break;
case MTD_NORFLASH:
printf ("MTD_NORFLASH");
break;
case MTD_NANDFLASH:
printf ("MTD_NANDFLASH");
break;
+ case MTD_GENERIC_TYPE:
+ printf ("MTD_GENERIC_TYPE");
+ break;
default:
printf ("(unknown type - new MTD API maybe?)");
}