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/samsung/smdk6400/smdk6400.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'board/samsung/smdk6400/smdk6400.c') 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 -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 */ -- cgit v1.1