From 0de3b7ed6130af9e03417ef42d5a3ce5ec20d3ba Mon Sep 17 00:00:00 2001 From: James Christopher Adduono Date: Tue, 29 Mar 2016 15:42:55 -0400 Subject: Flashutils: detect /dev/block/sd* as emmc Change-Id: I067a58e5053748b9613ea6b4ac76a1c5285abc7d --- flashutils/flashutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flashutils') 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; -- cgit v1.2.3