Flashutils: detect /dev/block/sd* as emmc
Change-Id: I067a58e5053748b9613ea6b4ac76a1c5285abc7d
diff --git a/flashutils/flashutils.c b/flashutils/flashutils.c
index fe1181f..5a5e009 100644
--- a/flashutils/flashutils.c
+++ b/flashutils/flashutils.c
@@ -54,7 +54,7 @@
int type = device_flash_type();
if (strstr(partition, "/dev/block/mtd") != NULL)
type = MTD;
- else if (strstr(partition, "/dev/block/mmc") != NULL)
+ else if (strstr(partition, "/dev/block/mmc") != NULL || strstr(partition, "/dev/block/sd") != NULL)
type = MMC;
else if (strstr(partition, "/dev/block/bml") != NULL)
type = BML;