Patchwork [U-Boot] mx6qsabre{sd, auto}: Fix environment as 'mmc rescan' takes no arguments

login
register
mail settings
Submitter Otavio Salvador
Date April 11, 2013, 2:55 a.m.
Message ID <1365648950-1921-1-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/235540/
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Comments

Otavio Salvador - April 11, 2013, 2:55 a.m.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 include/configs/mx6qsabre_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Fabio Estevam - April 11, 2013, 3:16 a.m.
On Wed, Apr 10, 2013 at 11:55 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

Acked-by: Fabio Estevam <fabio.estevam@freescale.com>
Stefano Babic - April 13, 2013, 3:45 p.m.
On 11/04/2013 04:55, Otavio Salvador wrote:
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  include/configs/mx6qsabre_common.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/mx6qsabre_common.h b/include/configs/mx6qsabre_common.h
> index dc113e1..5da748e 100644
> --- a/include/configs/mx6qsabre_common.h
> +++ b/include/configs/mx6qsabre_common.h
> @@ -158,7 +158,7 @@
>  
>  #define CONFIG_BOOTCOMMAND \
>  	"mmc dev ${mmcdev};" \
> -	"if mmc rescan ${mmcdev}; then " \
> +	"if mmc rescan; then " \
>  		"if run loadbootscript; then " \
>  		"run bootscript; " \
>  		"else " \
> 

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

Patch

diff --git a/include/configs/mx6qsabre_common.h b/include/configs/mx6qsabre_common.h
index dc113e1..5da748e 100644
--- a/include/configs/mx6qsabre_common.h
+++ b/include/configs/mx6qsabre_common.h
@@ -158,7 +158,7 @@ 
 
 #define CONFIG_BOOTCOMMAND \
 	"mmc dev ${mmcdev};" \
-	"if mmc rescan ${mmcdev}; then " \
+	"if mmc rescan; then " \
 		"if run loadbootscript; then " \
 		"run bootscript; " \
 		"else " \