aboutsummaryrefslogtreecommitdiffstats
path: root/recovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'recovery.c')
-rw-r--r--recovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery.c b/recovery.c
index 2b3543e..0e92a5b 100644
--- a/recovery.c
+++ b/recovery.c
@@ -161,7 +161,7 @@ static void
get_args(int *argc, char ***argv) {
struct bootloader_message boot;
memset(&boot, 0, sizeof(boot));
- if (device_flash_type() == MTD) {
+ if (device_flash_type() == MTD || device_flash_type() == MMC) {
get_bootloader_message(&boot); // this may fail, leaving a zeroed structure
}