From 467ef8818ff4480777a77b425eb72a6329c05758 Mon Sep 17 00:00:00 2001 From: Jonathan Kotta Date: Tue, 12 Jul 2016 15:17:17 -0500 Subject: [PATCH] allow the same format for dfu_alt_info as edison-v2014.04 --- drivers/dfu/dfu_mmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/dfu/dfu_mmc.c b/drivers/dfu/dfu_mmc.c index 5a9fb4a6e2..64b19de39b 100644 --- a/drivers/dfu/dfu_mmc.c +++ b/drivers/dfu/dfu_mmc.c @@ -350,7 +350,8 @@ int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, char *s) } dfu->data.mmc.hw_partition = -EINVAL; - if (!strcmp(entity_type, "raw")) { + if (!strcmp(entity_type, "raw") + || !strcmp(entity_type, "mmc")) { dfu->layout = DFU_RAW_ADDR; dfu->data.mmc.lba_start = second_arg; dfu->data.mmc.lba_size = third_arg;