Patchwork [U-Boot,v5,2/2] mx51evk: Do not force the rootfs type

login
register
mail settings
Submitter Fabio Estevam
Date April 19, 2013, 9:04 p.m.
Message ID <1366405477-19329-2-git-send-email-festevam@gmail.com>
Download mbox | patch
Permalink /patch/238111/
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Comments

Fabio Estevam - April 19, 2013, 9:04 p.m.
From: Fabio Estevam <fabio.estevam@freescale.com>

Currently mmcrootfstype is set to ext3 type.

It is better not to force it in the env vars, because users may prefer a 
different file system type, so let's get rid of 'mmcrootfstype'.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v4:
- Remove the real usage of mmcrootfstype
- Boot a rootfs from mmc card
Changes since v3:
- Newly introduced
 include/configs/mx51evk.h |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
Otavio Salvador - April 19, 2013, 9:21 p.m.
On Fri, Apr 19, 2013 at 6:04 PM, Fabio Estevam <festevam@gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> Currently mmcrootfstype is set to ext3 type.
>
> It is better not to force it in the env vars, because users may prefer a
> different file system type, so let's get rid of 'mmcrootfstype'.
>
> 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 25, 2013, 7:45 p.m.
On 19/04/2013 23:04, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Currently mmcrootfstype is set to ext3 type.
> 
> It is better not to force it in the env vars, because users may prefer a 
> different file system type, so let's get rid of 'mmcrootfstype'.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

Patch

diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index 4545a80..5f13a6e 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -160,11 +160,9 @@ 
 	"ip_dyn=yes\0" \
 	"mmcdev=0\0" \
 	"mmcpart=2\0" \
-	"mmcroot=/dev/mmcblk0p3 rw\0" \
-	"mmcrootfstype=ext3 rootwait\0" \
+	"mmcroot=/dev/mmcblk0p3 rootwait rw\0" \
 	"mmcargs=setenv bootargs console=ttymxc0,${baudrate} " \
-		"root=${mmcroot} " \
-		"rootfstype=${mmcrootfstype}\0" \
+		"root=${mmcroot}\0" \
 	"loadbootscript=" \
 		"fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
 	"bootscript=echo Running bootscript from mmc ...; " \