summaryrefslogtreecommitdiffstats
path: root/lib_generic
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 /lib_generic
parentfbdaafaee71e2c7f2c31b3582ab6d8679efee8d3 (diff)
downloadtalos-obmc-uboot-be33b046b549ad88c204c209508cd7657232ffbd.tar.gz
talos-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 'lib_generic')
-rw-r--r--lib_generic/crc32.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib_generic/crc32.c b/lib_generic/crc32.c
index 3927ce13c2..b27048ceeb 100644
--- a/lib_generic/crc32.c
+++ b/lib_generic/crc32.c
@@ -172,9 +172,7 @@ uint32_t ZEXPORT crc32 (uint32_t crc, const Bytef *buf, uInt len)
return crc ^ 0xffffffffL;
}
-#if defined(CONFIG_CMD_JFFS2) || \
- (defined(CONFIG_CMD_NAND) \
- && !defined(CONFIG_NAND_LEGACY))
+#if defined(CONFIG_CMD_JFFS2) || defined(CONFIG_CMD_NAND)
/* No ones complement version. JFFS2 (and other things ?)
* don't use ones compliment in their CRC calculations.
OpenPOWER on IntegriCloud