summaryrefslogtreecommitdiffstats
path: root/board/stxxtc/stxxtc.c
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2009-07-16 19:08:04 -0500
committerScott Wood <scottwood@freescale.com>2009-07-17 15:03:28 -0500
commit2419169f5749d7af501b3b77a5336d1d535320de (patch)
tree1dc7294f29f74ad118b3a4c78c53b2aa4ceba3bd /board/stxxtc/stxxtc.c
parentbe33b046b549ad88c204c209508cd7657232ffbd (diff)
downloadblackbird-obmc-uboot-2419169f5749d7af501b3b77a5336d1d535320de.tar.gz
blackbird-obmc-uboot-2419169f5749d7af501b3b77a5336d1d535320de.zip
Remove legacy NAND and disk on chip references from boards.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'board/stxxtc/stxxtc.c')
-rw-r--r--board/stxxtc/stxxtc.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/board/stxxtc/stxxtc.c b/board/stxxtc/stxxtc.c
index a1a36c493a..717dbe2084 100644
--- a/board/stxxtc/stxxtc.c
+++ b/board/stxxtc/stxxtc.c
@@ -574,22 +574,6 @@ int board_early_init_f(void)
return 0;
}
-#if defined(CONFIG_CMD_NAND)
-
-#include <linux/mtd/nand_legacy.h>
-
-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)
OpenPOWER on IntegriCloud