diff mbox series

[U-Boot,v2] tao3530: Fix usage of mmc rescan

Message ID 20190930174221.11344-1-jarkko.nikula@bitmer.com
State Accepted
Commit 2fff0e96a6ed4bb464f3ef7c2e3628ddf2d988d0
Delegated to: Tom Rini
Headers show
Series [U-Boot,v2] tao3530: Fix usage of mmc rescan | expand

Commit Message

Jarkko Nikula Sept. 30, 2019, 5:42 p.m. UTC
Currently "bootcmd" does not work as intended but instead prints MMC usage
information and goes directly to "nandboot".

Follow what the commit 669681104daa ("configs: Fix usage of mmc rescan")
does for other boards prior to support for TechNexion TAO3530 SoM was
added.

Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
---
v2: s/$(mmcdev)/${mmcdev}/
---
 include/configs/tao3530.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Oct. 12, 2019, 8:28 p.m. UTC | #1
On Mon, Sep 30, 2019 at 08:42:21PM +0300, Jarkko Nikula wrote:

> Currently "bootcmd" does not work as intended but instead prints MMC usage
> information and goes directly to "nandboot".
> 
> Follow what the commit 669681104daa ("configs: Fix usage of mmc rescan")
> does for other boards prior to support for TechNexion TAO3530 SoM was
> added.
> 
> Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/include/configs/tao3530.h b/include/configs/tao3530.h
index c34e785d9e55..7a54fe3e1e37 100644
--- a/include/configs/tao3530.h
+++ b/include/configs/tao3530.h
@@ -114,7 +114,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 " \