summaryrefslogtreecommitdiff
path: root/board/davinci/dm6467evm/dm6467evm.c
diff options
context:
space:
mode:
authorSandeep Paulraj <s-paulraj@ti.com>2009-11-21 18:08:49 -0500
committerTom Rix <Tom.Rix@windriver.com>2009-11-27 16:26:17 -0600
commitc1ee63cee89c5822fbbcc63586c8f2a1add70614 (patch)
treeba897d4dbb3690839da4d8a8939800cc95d7ed8b /board/davinci/dm6467evm/dm6467evm.c
parentd414aae552bc229dafcad92028effb4a8306c7a5 (diff)
TI DaVinci DM646x: Enable NAND on DM6467 EVM
This patch enables NAND on the DM6467 EVM Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/davinci/dm6467evm/dm6467evm.c')
-rw-r--r--board/davinci/dm6467evm/dm6467evm.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/davinci/dm6467evm/dm6467evm.c b/board/davinci/dm6467evm/dm6467evm.c
index ac3b282993..994a9aae9f 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;
@@ -28,3 +30,12 @@ int board_init(void)
return 0;
}
+
+#ifdef CONFIG_NAND_DAVINCI
+int board_nand_init(struct nand_chip *nand)
+{
+ davinci_nand_init(nand);
+
+ return 0;
+}
+#endif