summaryrefslogtreecommitdiff
path: root/common/env_nand.c
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2009-04-01 20:02:13 (GMT)
committerScott Wood <scottwood@freescale.com>2009-07-17 00:07:47 (GMT)
commitbe33b046b549ad88c204c209508cd7657232ffbd (patch)
tree5e7c1c74c77a0dbaf7e4f17d3ed047d85beae414 /common/env_nand.c
parentfbdaafaee71e2c7f2c31b3582ab6d8679efee8d3 (diff)
downloadu-boot-fsl-qoriq-be33b046b549ad88c204c209508cd7657232ffbd.tar.xz
Remove legacy NAND and disk on chip code.
Legacy NAND had been scheduled for removal. Any boards that use this were already not building in the previous release due to an #error. The disk on chip code in common/cmd_doc.c relies on legacy NAND, and it has also been removed. There is newer disk on chip code in drivers/mtd/nand; someone with access to hardware and sufficient time and motivation can try to get that working, but for now disk on chip is not supported. Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'common/env_nand.c')
-rw-r--r--common/env_nand.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/env_nand.c b/common/env_nand.c
index 90a1c45..8052fb7 100644
--- a/common/env_nand.c
+++ b/common/env_nand.c
@@ -57,10 +57,6 @@
#define CONFIG_ENV_RANGE CONFIG_ENV_SIZE
#endif
-int nand_legacy_rw (struct nand_chip* nand, int cmd,
- size_t start, size_t len,
- size_t * retlen, u_char * buf);
-
/* references to names in env_common.c */
extern uchar default_environment[];
extern int default_environment_size;