configs: Fix usage of mmc rescan
PATCH 1/1 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 <[email protected]>
--- include/configs/am335x_evm.h | 2 +- include/configs/am3517_crane.h | 2 +- include/configs/am3517_evm.h | 2 +- include/configs/cm_t35.h | 2 +- include/configs/devkit8000.h | 2 +- include/configs/igep00x0.h | 2 +- include/configs/mx28evk.h | 2 +- include/configs/mx51evk.h | 2 +- include/configs/mx53ard.h | 2 +- include/configs/mx53evk.h | 2 +- include/configs/mx53loco.h | 2 +- include/configs/mx53smd.h | 2 +- include/configs/mx6qarm2.h | 2 +- include/configs/mx6qsabrelite.h | 2 +- include/configs/omap3_beagle.h | 2 +- include/configs/omap3_evm.h | 2 +- include/configs/omap3_logic.h | 2 +- include/configs/omap3_overo.h | 2 +- include/configs/omap3_zoom1.h | 2 +- include/configs/omap4_common.h | 2 +- include/configs/omap5_evm.h | 2 +- include/configs/tricorder.h | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-)
include/configs/am335x_evm.h +1 -1
@@ -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};" \
include/configs/am3517_crane.h +1 -1
@@ -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 " \
include/configs/am3517_evm.h +1 -1
@@ -206,7 +206,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 " \
include/configs/cm_t35.h +1 -1
@@ -231,7 +231,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 " \
include/configs/devkit8000.h +1 -1
@@ -232,7 +232,7 @@"dhcp ${loadaddr}; " \"run netargs; " \"bootm ${loadaddr}\0" \ -"autoboot=if mmc rescan ${mmcdev}; then " \ +"autoboot=mmc dev ${mmcdev}; if mmc rescan; then " \"if run loadbootscript; then " \"run bootscript; " \"else " \
include/configs/igep00x0.h +1 -1
@@ -180,7 +180,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 " \"run importbootenv;" \
include/configs/mx28evk.h +1 -1
@@ -312,7 +312,7 @@"dhcp ${uimage}; bootm\0" #define CONFIG_BOOTCOMMAND \ -"if mmc rescan ${mmcdev}; then " \ +"mmc dev ${mmcdev}; if mmc rescan; then " \"if run loadbootscript; then " \"run bootscript; " \"else " \
include/configs/mx51evk.h +1 -1
@@ -183,7 +183,7 @@"dhcp ${uimage}; bootm\0" \ #define CONFIG_BOOTCOMMAND \ -"if mmc rescan ${mmcdev}; then " \ +"mmc dev ${mmcdev}; if mmc rescan; then " \"if run loadbootscript; then " \"run bootscript; " \"else " \
include/configs/mx53ard.h +1 -1
@@ -121,7 +121,7 @@"dhcp ${uimage}; bootm\0" \ #define CONFIG_BOOTCOMMAND \ -"if mmc rescan ${mmcdev}; then " \ +"mmc dev ${mmcdev}; if mmc rescan; then " \"if run loadbootscript; then " \"run bootscript; " \"else " \
include/configs/mx53evk.h +1 -1
@@ -134,7 +134,7 @@"dhcp ${uimage}; bootm\0" \ #define CONFIG_BOOTCOMMAND \ -"if mmc rescan ${mmcdev}; then " \ +"mmc dev ${mmcdev}; if mmc rescan; then " \"if run loadbootscript; then " \"run bootscript; " \"else " \
include/configs/mx53loco.h +1 -1
@@ -142,7 +142,7 @@"dhcp ${uimage}; bootm\0" \ #define CONFIG_BOOTCOMMAND \ -"if mmc rescan ${mmcdev}; then " \ +"mmc dev ${mmcdev}; if mmc rescan; then " \"if run loadbootscript; then " \"run bootscript; " \"else " \
include/configs/mx53smd.h +1 -1
@@ -120,7 +120,7 @@"dhcp ${uimage}; bootm\0" \ #define CONFIG_BOOTCOMMAND \ -"if mmc rescan ${mmcdev}; then " \ +"mmc dev ${mmcdev}; if mmc rescan; then " \"if run loadbootscript; then " \"run bootscript; " \"else " \
include/configs/mx6qarm2.h +1 -1
@@ -108,7 +108,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 " \
include/configs/mx6qsabrelite.h +1 -1
@@ -166,7 +166,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 " \
include/configs/omap3_beagle.h +1 -1
@@ -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 " \
include/configs/omap3_evm.h +1 -1
@@ -162,7 +162,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 " \
include/configs/omap3_logic.h +1 -1
@@ -202,7 +202,7 @@"mtdids=" MTDIDS_DEFAULT "\0" \"mtdparts=" MTDPARTS_DEFAULT "\0" \"mmcdev=0\0" \ -"autoboot=if mmc rescan ${mmcdev}; then " \ +"autoboot=mmc dev ${mmcdev}; if mmc rescan; then " \"if run loadbootscript; then " \"run bootscript; " \"else " \
include/configs/omap3_overo.h +1 -1
@@ -188,7 +188,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 " \
include/configs/omap3_zoom1.h +1 -1
@@ -198,7 +198,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 " \
include/configs/omap4_common.h +1 -1
@@ -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 " \
include/configs/omap5_evm.h +1 -1
@@ -167,7 +167,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 " \
include/configs/tricorder.h +1 -1
@@ -201,7 +201,7 @@"run nandargs; " \"run loaduimage_ubi; " \"bootm ${loadaddr}\0" \ -"autoboot=if mmc rescan ${mmcdev}; then " \ +"autoboot=mmc dev ${mmcdev}; if mmc rescan; then " \"if run loadbootscript; then " \"run bootscript; " \"else " \
Signature · 1 line
1.7.10
PATCH 1/1 configs: Fix usage of mmc rescan
Quoted 5 lines · Andrew Bradford
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 <[email protected]>
Applied to u-boot-ti/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121017/367ff4b7/attachment.pgp>