summaryrefslogtreecommitdiff
path: root/include/configs/mx6qsabrelite.h
diff options
context:
space:
mode:
authorAndrew Bradford <andrew@bradfordembedded.com>2012-10-01 05:06:52 +0000
committerTom Rini <trini@ti.com>2012-10-23 08:33:17 -0700
commit669681104daac2bfbdc733d7426b19e358eced8a (patch)
tree69e650ccb25e034c0e56bf8fb78841d7e3847f32 /include/configs/mx6qsabrelite.h
parent391a741162861a887fd226e53048aad2daed62fd (diff)
downloadu-boot-imx-669681104daac2bfbdc733d7426b19e358eced8a.zip
u-boot-imx-669681104daac2bfbdc733d7426b19e358eced8a.tar.gz
u-boot-imx-669681104daac2bfbdc733d7426b19e358eced8a.tar.bz2
configs: Fix usage of mmc rescan
Fix usage of 'mmc rescan' by many configs. Proper use is 'mmc dev ${mmcdev}; mmc rescan' to set the mmc device and then rescan the device. 'mmc rescan' itself does not take any arguments. Signed-off-by: Andrew Bradford <andrew@bradfordembedded.com>
Diffstat (limited to 'include/configs/mx6qsabrelite.h')
-rw-r--r--include/configs/mx6qsabrelite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
index e7bf658..ec9ab26 100644
--- a/include/configs/mx6qsabrelite.h
+++ b/include/configs/mx6qsabrelite.h
@@ -164,7 +164,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 " \