diff options
author | Andrew Bradford <andrew@bradfordembedded.com> | 2012-10-01 09:06:52 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-23 19:33:17 +0400 |
commit | 669681104daac2bfbdc733d7426b19e358eced8a (patch) | |
tree | 69e650ccb25e034c0e56bf8fb78841d7e3847f32 /include/configs/am335x_evm.h | |
parent | 391a741162861a887fd226e53048aad2daed62fd (diff) | |
download | u-boot-669681104daac2bfbdc733d7426b19e358eced8a.tar.xz |
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/am335x_evm.h')
-rw-r--r-- | include/configs/am335x_evm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 339d4bdb63..9d807391ba 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -81,7 +81,7 @@ "bootm ${loadaddr}\0" \ #define CONFIG_BOOTCOMMAND \ - "if mmc rescan ${mmcdev}; then " \ + "mmc dev ${mmcdev}; if mmc rescan; then " \ "echo SD/MMC found on device ${mmcdev};" \ "if run loadbootenv; then " \ "echo Loaded environment from ${bootenv};" \ |