summaryrefslogtreecommitdiffstats
path: root/flashutils
diff options
context:
space:
mode:
authorJames Christopher Adduono <jc@adduono.com>2016-03-29 21:42:55 +0200
committerDees Troy <dees_troy@teamw.in>2016-03-31 15:17:41 +0200
commit0de3b7ed6130af9e03417ef42d5a3ce5ec20d3ba (patch)
tree0f1805d09258c4e1f83640686d247d3115d0f055 /flashutils
parentStop loading languages for the splash screen (diff)
downloadandroid_bootable_recovery-0de3b7ed6130af9e03417ef42d5a3ce5ec20d3ba.tar
android_bootable_recovery-0de3b7ed6130af9e03417ef42d5a3ce5ec20d3ba.tar.gz
android_bootable_recovery-0de3b7ed6130af9e03417ef42d5a3ce5ec20d3ba.tar.bz2
android_bootable_recovery-0de3b7ed6130af9e03417ef42d5a3ce5ec20d3ba.tar.lz
android_bootable_recovery-0de3b7ed6130af9e03417ef42d5a3ce5ec20d3ba.tar.xz
android_bootable_recovery-0de3b7ed6130af9e03417ef42d5a3ce5ec20d3ba.tar.zst
android_bootable_recovery-0de3b7ed6130af9e03417ef42d5a3ce5ec20d3ba.zip
Diffstat (limited to 'flashutils')
-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;