diff mbox

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

Message ID 1365648950-1921-1-git-send-email-otavio@ossystems.com.br
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Otavio Salvador April 11, 2013, 2:55 a.m. UTC
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 include/configs/mx6qsabre_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Fabio Estevam April 11, 2013, 3:16 a.m. UTC | #1
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. UTC | #2
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
diff mbox

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 " \