summaryrefslogtreecommitdiff
path: root/lib/libmtd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libmtd.c')
-rw-r--r--lib/libmtd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libmtd.c b/lib/libmtd.c
index 654490e..3e8109a 100644
--- a/lib/libmtd.c
+++ b/lib/libmtd.c
@@ -403,6 +403,8 @@ static int type_str2int(const char *str)
{
if (!strcmp(str, "nand"))
return MTD_NANDFLASH;
+ if (!strcmp(str, "mlc-nand"))
+ return MTD_MLCNANDFLASH;
if (!strcmp(str, "nor"))
return MTD_NORFLASH;
if (!strcmp(str, "rom"))