summaryrefslogtreecommitdiff
path: root/board/samsung/smdk6400/smdk6400.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/samsung/smdk6400/smdk6400.c
parentbe33b046b549ad88c204c209508cd7657232ffbd (diff)
downloadu-boot-imx-2419169f5749d7af501b3b77a5336d1d535320de.zip
u-boot-imx-2419169f5749d7af501b3b77a5336d1d535320de.tar.gz
u-boot-imx-2419169f5749d7af501b3b77a5336d1d535320de.tar.bz2
Remove legacy NAND and disk on chip references from boards.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'board/samsung/smdk6400/smdk6400.c')
-rw-r--r--board/samsung/smdk6400/smdk6400.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/board/samsung/smdk6400/smdk6400.c b/board/samsung/smdk6400/smdk6400.c
index bd2e45a..52cd174 100644
--- a/board/samsung/smdk6400/smdk6400.c
+++ b/board/samsung/smdk6400/smdk6400.c
@@ -107,17 +107,6 @@ ulong virt_to_phy_smdk6400(ulong addr)
}
#endif
-#if defined(CONFIG_CMD_NAND) && defined(CONFIG_SYS_NAND_LEGACY)
-#include <linux/mtd/nand.h>
-extern struct nand_chip nand_dev_desc[CONFIG_SYS_MAX_NAND_DEVICE];
-void nand_init(void)
-{
- nand_probe(CONFIG_SYS_NAND_BASE);
- if (nand_dev_desc[0].ChipID != NAND_ChipID_UNKNOWN)
- print_size(nand_dev_desc[0].totlen, "\n");
-}
-#endif
-
ulong board_flash_get_legacy (ulong base, int banknum, flash_info_t *info)
{
if (banknum == 0) { /* non-CFI boot flash */