summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flashutils/flashutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flashutils/flashutils.c b/flashutils/flashutils.c
index fe1181fcd..5a5e0094f 100644
--- a/flashutils/flashutils.c
+++ b/flashutils/flashutils.c
@@ -54,7 +54,7 @@ static int detect_partition(const char *partitionType, const char *partition)
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;