summaryrefslogtreecommitdiff
path: root/include/configs/omap3_beagle.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/omap3_beagle.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/omap3_beagle.h')
-rw-r--r--include/configs/omap3_beagle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index f79f996..7a3cc16 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -289,7 +289,7 @@
"userbutton_nonxm=gpio input 7;\0"
/* "run userbutton" will return 1 (false) if is pressed and 0 (false) if not */
#define CONFIG_BOOTCOMMAND \
- "if mmc rescan ${mmcdev}; then " \
+ "mmc dev ${mmcdev}; if mmc rescan; then " \
"if run userbutton; then " \
"setenv bootenv uEnv.txt;" \
"else " \