[U-Boot] [PATCH] TI DaVinci DM646x: Enable NAND on DM6467 EVM

s-paulraj at ti.com s-paulraj at ti.com
Thu Oct 15 02:15:34 CEST 2009


From: Sandeep Paulraj <s-paulraj at ti.com>

This patch enables NAND on the DM6467 EVM.

Signed-off-by: Sandeep Paulraj <s-paulraj at ti.com>
---
 board/davinci/dm6467evm/dm6467evm.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/board/davinci/dm6467evm/dm6467evm.c b/board/davinci/dm6467evm/dm6467evm.c
index 9605818..d9e006d 100644
--- a/board/davinci/dm6467evm/dm6467evm.c
+++ b/board/davinci/dm6467evm/dm6467evm.c
@@ -18,6 +18,8 @@
 
 #include <common.h>
 #include <asm/io.h>
+#include <nand.h>
+#include <asm/arch/nand_defs.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -29,3 +31,13 @@ int board_init(void)
 	return 0;
 }
 
+#ifdef CONFIG_NAND_DAVINCI
+
+int board_nand_init(struct nand_chip *chip)
+{
+	davinci_nand_init(chip);
+
+	return 0;
+}
+
+#endif
-- 
1.6.0.4



More information about the U-Boot mailing list