public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] M28: Fix the use of gpmi-nand in mtdparts
@ 2012-08-29  1:12 Marek Vasut
  2012-08-29  7:41 ` Stefano Babic
  2012-09-04 10:01 ` Stefano Babic
  0 siblings, 2 replies; 3+ messages in thread
From: Marek Vasut @ 2012-08-29  1:12 UTC (permalink / raw)
  To: u-boot

The mtd name of the NAND in Linux is "gpmi-nand", not "gpmi-nand.0" as
it would be expected, since the controller doesn't support multiple NANDs
attached to it as of now. Rectify this flub by adjusting default mtdparts.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>
---
 include/configs/m28evk.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index d5cd5a8..40df437 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -172,9 +172,9 @@
 #define	CONFIG_LZO
 #define	CONFIG_MTD_DEVICE
 #define	CONFIG_MTD_PARTITIONS
-#define	MTDIDS_DEFAULT			"nand0=gpmi-nand.0"
+#define	MTDIDS_DEFAULT			"nand0=gpmi-nand"
 #define	MTDPARTS_DEFAULT			\
-	"mtdparts=gpmi-nand.0:"			\
+	"mtdparts=gpmi-nand:"			\
 		"3m(bootloader)ro,"		\
 		"512k(environment),"		\
 		"512k(redundant-environment),"	\
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] M28: Fix the use of gpmi-nand in mtdparts
  2012-08-29  1:12 [U-Boot] [PATCH] M28: Fix the use of gpmi-nand in mtdparts Marek Vasut
@ 2012-08-29  7:41 ` Stefano Babic
  2012-09-04 10:01 ` Stefano Babic
  1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2012-08-29  7:41 UTC (permalink / raw)
  To: u-boot

On 29/08/2012 03:12, Marek Vasut wrote:
> The mtd name of the NAND in Linux is "gpmi-nand", not "gpmi-nand.0" as
> it would be expected, since the controller doesn't support multiple NANDs
> attached to it as of now. Rectify this flub by adjusting default mtdparts.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Fabio Estevam <fabio.estevam@freescale.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  include/configs/m28evk.h |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
> index d5cd5a8..40df437 100644
> --- a/include/configs/m28evk.h
> +++ b/include/configs/m28evk.h
> @@ -172,9 +172,9 @@
>  #define	CONFIG_LZO
>  #define	CONFIG_MTD_DEVICE
>  #define	CONFIG_MTD_PARTITIONS
> -#define	MTDIDS_DEFAULT			"nand0=gpmi-nand.0"
> +#define	MTDIDS_DEFAULT			"nand0=gpmi-nand"
>  #define	MTDPARTS_DEFAULT			\
> -	"mtdparts=gpmi-nand.0:"			\
> +	"mtdparts=gpmi-nand:"			\
>  		"3m(bootloader)ro,"		\
>  		"512k(environment),"		\
>  		"512k(redundant-environment),"	\
> 

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] M28: Fix the use of gpmi-nand in mtdparts
  2012-08-29  1:12 [U-Boot] [PATCH] M28: Fix the use of gpmi-nand in mtdparts Marek Vasut
  2012-08-29  7:41 ` Stefano Babic
@ 2012-09-04 10:01 ` Stefano Babic
  1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2012-09-04 10:01 UTC (permalink / raw)
  To: u-boot

On 29/08/2012 03:12, Marek Vasut wrote:
> The mtd name of the NAND in Linux is "gpmi-nand", not "gpmi-nand.0" as
> it would be expected, since the controller doesn't support multiple NANDs
> attached to it as of now. Rectify this flub by adjusting default mtdparts.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Fabio Estevam <fabio.estevam@freescale.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Otavio Salvador <otavio@ossystems.com.br>
> ---


Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic



-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-04 10:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-29  1:12 [U-Boot] [PATCH] M28: Fix the use of gpmi-nand in mtdparts Marek Vasut
2012-08-29  7:41 ` Stefano Babic
2012-09-04 10:01 ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox