summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2008-05-22 10:49:46 -0500
committerScott Wood <scottwood@freescale.com>2008-05-28 11:06:29 -0500
commitd6ac2ed893c2168738aee01579d6283af8d37045 (patch)
tree759dfa09b15263a126f61171daa762e345f8f012 /lib_ppc
parent229c56f07a82eacda8c8720cb146fc9be0f6db54 (diff)
Remove prototypes of nand_init() in favor of including nand.h.
Likewise with onenand_init(). Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/board.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 4956403cce8..6f7242d622c 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -93,9 +93,7 @@ void doc_init (void);
#if defined(CONFIG_HARD_SPI)
#include <spi.h>
#endif
-#if defined(CONFIG_CMD_NAND)
-void nand_init (void);
-#endif
+#include <nand.h>
static char *failed = "*** failed ***\n";