Patchwork [U-Boot,1/3] wandboard: Remove duplicate 'mmc dev'

login
register
mail settings
Submitter Fabio Estevam
Date April 2, 2013, 2:03 a.m.
Message ID <1364868218-13663-1-git-send-email-festevam@gmail.com>
Download mbox | patch
Permalink /patch/232852/
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Comments

Fabio Estevam - April 2, 2013, 2:03 a.m.
From: Fabio Estevam <fabio.estevam@freescale.com>

No need to call 'mmc dev' twice. 

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/configs/wandboard.h |    1 -
 1 file changed, 1 deletion(-)
Otavio Salvador - April 2, 2013, 11:51 a.m.
On Mon, Apr 1, 2013 at 11:03 PM, Fabio Estevam <festevam@gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> No need to call 'mmc dev' twice.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
Stefano Babic - April 3, 2013, 9:43 a.m.
On 02/04/2013 04:03, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> No need to call 'mmc dev' twice. 
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---


Applied to u-boot-imx, thanks.

Best regards,
Stefano

Patch

diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
index c4fb704..00c656e 100644
--- a/include/configs/wandboard.h
+++ b/include/configs/wandboard.h
@@ -150,7 +150,6 @@ 
 		"fi;\0"
 
 #define CONFIG_BOOTCOMMAND \
-	   "mmc dev ${mmcdev};" \
 	   "mmc dev ${mmcdev}; if mmc rescan; then " \
 		   "if run loadbootscript; then " \
 			   "run bootscript; " \