configs: Fix usage of mmc rescan
authorAndrew Bradford <andrew@bradfordembedded.com>
Mon, 1 Oct 2012 05:06:52 +0000 (05:06 +0000)
committerTom Rini <trini@ti.com>
Tue, 23 Oct 2012 15:33:17 +0000 (08:33 -0700)
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>
22 files changed:
include/configs/am335x_evm.h
include/configs/am3517_crane.h
include/configs/am3517_evm.h
include/configs/cm_t35.h
include/configs/devkit8000.h
include/configs/igep00x0.h
include/configs/mx28evk.h
include/configs/mx51evk.h
include/configs/mx53ard.h
include/configs/mx53evk.h
include/configs/mx53loco.h
include/configs/mx53smd.h
include/configs/mx6qarm2.h
include/configs/mx6qsabrelite.h
include/configs/omap3_beagle.h
include/configs/omap3_evm.h
include/configs/omap3_logic.h
include/configs/omap3_overo.h
include/configs/omap3_zoom1.h
include/configs/omap4_common.h
include/configs/omap5_evm.h
include/configs/tricorder.h

index 339d4bdb631218d8a7f989bf7659e5764e15743a..9d807391bab29596cc5f275d8045be5e24d780c1 100644 (file)
@@ -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};" \
index 8ddeff46f44cf744354afd88c346a79ab7f77e9c..20a3df5db28acf98049474c0f294297251d15ff1 100644 (file)
                "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 " \
index 698081100eea549c70328514552309e84db38458..ce71d1335c58ebd1bc4480b9f1c74b45e8eba972 100644 (file)
                "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 " \
index 46c556ddc8e25ea845c21d0d003c3c2693ce052b..6f355c7af0cf5fe0860cc9bcbb69d02a13473c00 100644 (file)
                "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 " \
index 1e658067e04e604b10d03eab4e6734e7ee7d32c9..da3263f4f59745a74cbe4094c827838be6038562 100644 (file)
                "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 " \
index b1071e892c82a0d7cfc692703be9fa4b3bc8b460..c81ab7622eba58c79db128817b93654ea7167532 100644 (file)
                "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;" \
index 7cdbec68deac5191afa2246a5340d50947748591..e188f029c752ac4384c4c24ec2888ca5a78913b4 100644 (file)
                "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 " \
index 34b07831cb37e28c7a693fed78cb228ee2ce6941..dcae53786bb2dd3bb4c275866136c843ae8107b8 100644 (file)
                "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 " \
index fea93b4dc0610c74d82a0b4fd6778655313043eb..62cb42bc4c9fa1722e21f75ae37b5c0029ee2298 100644 (file)
                "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 " \
index 832050ea97045d504dcb6d9501861d59f9a44461..69937d834e6902b19f14f5d1ac553a4c216f4d48 100644 (file)
                "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 " \
index 6a6aaa1923f75ae97b0d193857e1bf2b40cfc5b9..55efeb741c3ba7a7b82c03efc3593f8be80502db 100644 (file)
                "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 " \
index ff2a290d7ad42ce501fdb40928dd77bad95ed517..9e8331970cf71ba443c0f9a74e6ed49f65060efa 100644 (file)
                "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 " \
index 965bea37ca9c9076bcf95e8b9c03ac1511b8bef1..fbc51625bad6721281b4779afe2928ab9c1736f2 100644 (file)
 
 #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 " \
index e7bf6582c33cadc477ba51bd0688b9902f2c3055..ec9ab2649325ca11fcdbc17e2138b5b263fd98e5 100644 (file)
 
 #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 " \
index f79f996450d52697ba92467fb573be41500ea282..7a3cc16a09ba2e4ec6c2af060589e90a77753d6e 100644 (file)
        "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 " \
index 632a13fa9f9dd581d6ebff922164dd4e00066d8a..f6e4236998f35cb80f03cebc6daedefdf8e18ed8 100644 (file)
                "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 " \
index b975a6c9a4d74aa1c50f2c19271d668ca469786c..b2457d0bc6e72c9cb0f54a538c0b037c25245ce4 100644 (file)
        "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 " \
index f6d6f75fca42a76804ab1767d1a7d279f1657905..626cf7afd5c3cce3c2848484fc836fb675faeecb 100644 (file)
                "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 " \
index 891e6f4363a0ff3815150d91727d276843833d24..e152055a64ed2fc2e63f1256a4719539f8285066 100644 (file)
                "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 " \
index cbc9bdb402634bdb33f2226c76115dd6a9d248d0..a32369af3270b0df5eb6bfca83158146a386377e 100644 (file)
                "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 " \
index 743edfdcc593f00888dd0743affc6df3bceb3155..623da777faa7a66b346981554fe18c4fca4c0bc9 100644 (file)
                "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 " \
index 00d02e8ca055278fd57b39f41d4dca96b198aac4..5859a7337b724b233e6ea9159581b44c33780a94 100644 (file)
                "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 " \