[U-Boot] [PATCH v2] tao3530: Fix usage of mmc rescan
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 --- v2: s/$(mmcdev)/${mmcdev}/ --- include/configs/tao3530.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " \ -- 2.23.0 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] [PATCH] tao3530: Fix usage of mmc rescan
On 9/29/19 8:33 PM, 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 > --- > include/configs/tao3530.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/configs/tao3530.h b/include/configs/tao3530.h > index c34e785d9e55..5f75eed4c0e7 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 " \ Please discard this, by some reason I managed to put round brackets here. Will resend. -- Jarkko ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] [PATCH] tao3530: Fix usage of mmc rescan
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 --- include/configs/tao3530.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/tao3530.h b/include/configs/tao3530.h index c34e785d9e55..5f75eed4c0e7 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 " \ -- 2.23.0 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot