public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] i.MX31: Activate NAND support for i.MX31 Litekit board.
@ 2010-04-23 18:30 Magnus Lilja
  2010-04-24  7:21 ` Stefano Babic
  0 siblings, 1 reply; 2+ messages in thread
From: Magnus Lilja @ 2010-04-23 18:30 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
---
 include/configs/imx31_litekit.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h
index 6131008..d58ca8a 100644
--- a/include/configs/imx31_litekit.h
+++ b/include/configs/imx31_litekit.h
@@ -89,6 +89,7 @@
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_SPI
 #define CONFIG_CMD_DATE
+#define CONFIG_CMD_NAND
 
 #define CONFIG_BOOTDELAY	3
 
@@ -174,4 +175,13 @@
 #undef CONFIG_CMD_MTDPARTS
 #define CONFIG_JFFS2_DEV	"nor0"
 
+/*
+ * NAND flash
+ */
+#define CONFIG_NAND_MXC
+#define CONFIG_MXC_NAND_REGS_BASE	NFC_BASE_ADDR
+#define CONFIG_SYS_MAX_NAND_DEVICE	1
+#define CONFIG_SYS_NAND_BASE		NFC_BASE_ADDR
+#define CONFIG_MXC_NAND_HWECC
+
 #endif /* __CONFIG_H */
-- 
1.6.4.2

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

* [U-Boot] [PATCH] i.MX31: Activate NAND support for i.MX31 Litekit board.
  2010-04-23 18:30 [U-Boot] [PATCH] i.MX31: Activate NAND support for i.MX31 Litekit board Magnus Lilja
@ 2010-04-24  7:21 ` Stefano Babic
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2010-04-24  7:21 UTC (permalink / raw)
  To: u-boot

Magnus Lilja wrote:
> Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
> ---
>  include/configs/imx31_litekit.h |   10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h
> index 6131008..d58ca8a 100644
> --- a/include/configs/imx31_litekit.h
> +++ b/include/configs/imx31_litekit.h
> @@ -89,6 +89,7 @@
>  #define CONFIG_CMD_PING
>  #define CONFIG_CMD_SPI
>  #define CONFIG_CMD_DATE
> +#define CONFIG_CMD_NAND
>  
>  #define CONFIG_BOOTDELAY	3
>  
> @@ -174,4 +175,13 @@
>  #undef CONFIG_CMD_MTDPARTS
>  #define CONFIG_JFFS2_DEV	"nor0"
>  
> +/*
> + * NAND flash
> + */
> +#define CONFIG_NAND_MXC
> +#define CONFIG_MXC_NAND_REGS_BASE	NFC_BASE_ADDR
> +#define CONFIG_SYS_MAX_NAND_DEVICE	1
> +#define CONFIG_SYS_NAND_BASE		NFC_BASE_ADDR
> +#define CONFIG_MXC_NAND_HWECC
> +
>  #endif /* __CONFIG_H */

Applied to u-boot-imx, thanks.

Best regards,
Stefano

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

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

end of thread, other threads:[~2010-04-24  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-23 18:30 [U-Boot] [PATCH] i.MX31: Activate NAND support for i.MX31 Litekit board Magnus Lilja
2010-04-24  7:21 ` Stefano Babic

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