From 2419169f5749d7af501b3b77a5336d1d535320de Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Thu, 16 Jul 2009 19:08:04 -0500 Subject: Remove legacy NAND and disk on chip references from boards. Signed-off-by: Scott Wood --- board/netphone/netphone.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'board/netphone') diff --git a/board/netphone/netphone.c b/board/netphone/netphone.c index 53d317206..ce5f05169 100644 --- a/board/netphone/netphone.c +++ b/board/netphone/netphone.c @@ -597,22 +597,6 @@ int board_early_init_f(void) return 0; } -#if defined(CONFIG_CMD_NAND) - -#include - -extern ulong nand_probe(ulong physadr); -extern struct nand_chip nand_dev_desc[CONFIG_SYS_MAX_NAND_DEVICE]; - -void nand_init(void) -{ - unsigned long totlen; - - totlen = nand_probe(CONFIG_SYS_NAND_BASE); - printf ("%4lu MB\n", totlen >> 20); -} -#endif - #ifdef CONFIG_HW_WATCHDOG void hw_watchdog_reset(void) -- cgit v1.2.3