summaryrefslogtreecommitdiff
path: root/include/configs/omap4_common.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/omap4_common.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/omap4_common.h')
-rw-r--r--include/configs/omap4_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h
index cbc9bdb..a32369a 100644
--- a/include/configs/omap4_common.h
+++ b/include/configs/omap4_common.h
@@ -165,7 +165,7 @@
"bootm ${loadaddr}\0" \
#define CONFIG_BOOTCOMMAND \
- "if mmc rescan ${mmcdev}; then " \
+ "mmc dev ${mmcdev}; if mmc rescan; then " \
"if run loadbootscript; then " \
"run bootscript; " \
"else " \