summaryrefslogtreecommitdiffstats
path: root/common/env_nand.c
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2009-04-01 15:02:13 -0500
committerScott Wood <scottwood@freescale.com>2009-07-16 19:07:47 -0500
commitbe33b046b549ad88c204c209508cd7657232ffbd (patch)
tree5e7c1c74c77a0dbaf7e4f17d3ed047d85beae414 /common/env_nand.c
parentfbdaafaee71e2c7f2c31b3582ab6d8679efee8d3 (diff)
downloadblackbird-obmc-uboot-be33b046b549ad88c204c209508cd7657232ffbd.tar.gz
blackbird-obmc-uboot-be33b046b549ad88c204c209508cd7657232ffbd.zip
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 90a1c45472..8052fb79e5 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;
OpenPOWER on IntegriCloud