summaryrefslogtreecommitdiff
path: root/include/configs/am3517_crane.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/am3517_crane.h
parent391a741162861a887fd226e53048aad2daed62fd (diff)
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/am3517_crane.h')
-rw-r--r--include/configs/am3517_crane.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h
index 8ddeff46f4..20a3df5db2 100644
--- a/include/configs/am3517_crane.h
+++ b/include/configs/am3517_crane.h
@@ -209,7 +209,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 " \