From c1ee63cee89c5822fbbcc63586c8f2a1add70614 Mon Sep 17 00:00:00 2001 From: Sandeep Paulraj Date: Sat, 21 Nov 2009 18:08:49 -0500 Subject: TI DaVinci DM646x: Enable NAND on DM6467 EVM This patch enables NAND on the DM6467 EVM Signed-off-by: Sandeep Paulraj --- board/davinci/dm6467evm/dm6467evm.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/board/davinci/dm6467evm/dm6467evm.c b/board/davinci/dm6467evm/dm6467evm.c index ac3b282..994a9aa 100644 --- a/board/davinci/dm6467evm/dm6467evm.c +++ b/board/davinci/dm6467evm/dm6467evm.c @@ -18,6 +18,8 @@ #include #include +#include +#include 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 -- cgit v1.1