summaryrefslogtreecommitdiff
path: root/include/configs/mx6qarm2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/mx6qarm2.h')
-rw-r--r--include/configs/mx6qarm2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
index b425fed..23562a8 100644
--- a/include/configs/mx6qarm2.h
+++ b/include/configs/mx6qarm2.h
@@ -107,7 +107,7 @@
#define CONFIG_BOOTCOMMAND \
"mmc dev ${mmcdev};" \
- "if mmc rescan ${mmcdev}; then " \
+ "mmc dev ${mmcdev}; if mmc rescan; then " \
"if run loadbootscript; then " \
"run bootscript; " \
"else " \