diff options
author | Scott Wood <scottwood@freescale.com> | 2009-07-16 19:08:04 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2009-07-17 15:03:28 -0500 |
commit | 2419169f5749d7af501b3b77a5336d1d535320de (patch) | |
tree | 1dc7294f29f74ad118b3a4c78c53b2aa4ceba3bd /board/g2000/g2000.c | |
parent | be33b046b549ad88c204c209508cd7657232ffbd (diff) | |
download | u-boot-2419169f5749d7af501b3b77a5336d1d535320de.tar.gz u-boot-2419169f5749d7af501b3b77a5336d1d535320de.tar.xz u-boot-2419169f5749d7af501b3b77a5336d1d535320de.zip |
Remove legacy NAND and disk on chip references from boards.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'board/g2000/g2000.c')
-rw-r--r-- | board/g2000/g2000.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/board/g2000/g2000.c b/board/g2000/g2000.c index 218f1bebf7..f6f47197cd 100644 --- a/board/g2000/g2000.c +++ b/board/g2000/g2000.c @@ -148,21 +148,6 @@ phys_size_t initdram (int board_type) return ret; } - -#if defined(CONFIG_CMD_NAND) -#include <linux/mtd/nand_legacy.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 - - #if 0 /* test-only !!! */ int do_dumpebc(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) { |