summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-09-27 11:26:19 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-09-27 11:26:19 +0200
commit06efc2b81a8f6567a24bb7d848ab444b1e17c422 (patch)
tree1df53fdeb56394d5d0f819a76dd841c2fdeba7e2 /lib
parent52473038dcff62c4f693680fcc7e53c822f52988 (diff)
downloadbarebox-06efc2b81a8f6567a24bb7d848ab444b1e17c422.tar.gz
barebox-06efc2b81a8f6567a24bb7d848ab444b1e17c422.tar.xz
disable crc32 complement version for now
Diffstat (limited to 'lib')
-rw-r--r--lib/crc32.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/crc32.c b/lib/crc32.c
index db08b65734..e36d347682 100644
--- a/lib/crc32.c
+++ b/lib/crc32.c
@@ -150,8 +150,7 @@ ulong crc32(ulong crc, const unsigned char *buf, uint len)
return crc ^ 0xffffffffL;
}
-#if (CONFIG_COMMANDS & CFG_CMD_JFFS2) || \
- ((CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY))
+#if 0
/* No ones complement version. JFFS2 (and other things ?)
* don't use ones compliment in their CRC calculations.
@@ -174,4 +173,4 @@ uLong crc32_no_comp(uLong crc, const Bytef *buf, uint len)
return crc;
}
-#endif /* CFG_CMD_JFFS2 */
+#endif