diff options
author | Jon Loeliger <jdl@freescale.com> | 2006-10-11 10:16:01 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2006-10-11 10:16:01 -0500 |
commit | c3c3b089adcee06df3afd4e8b00a3fea82263bcd (patch) | |
tree | f0e65751f51993a6b46160a8362065a0e36ae315 /lib_generic/crc32.c | |
parent | bf651baa365e5447246aad6a633ccd667cf24a39 (diff) | |
parent | 2255b2d2044d434463eb2661e18018e50f1643d9 (diff) | |
download | u-boot-imx-c3c3b089adcee06df3afd4e8b00a3fea82263bcd.zip u-boot-imx-c3c3b089adcee06df3afd4e8b00a3fea82263bcd.tar.gz u-boot-imx-c3c3b089adcee06df3afd4e8b00a3fea82263bcd.tar.bz2 |
Merge branch 'master' of http://www.denx.de/git/u-boot
Diffstat (limited to 'lib_generic/crc32.c')
-rw-r--r-- | lib_generic/crc32.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib_generic/crc32.c b/lib_generic/crc32.c index 50ca4ffd..8283413 100644 --- a/lib_generic/crc32.c +++ b/lib_generic/crc32.c @@ -171,7 +171,9 @@ uLong ZEXPORT crc32(crc, buf, len) return crc ^ 0xffffffffL; } -#if (CONFIG_COMMANDS & CFG_CMD_JFFS2) +#if (CONFIG_COMMANDS & CFG_CMD_JFFS2) \ + || (CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY) + /* No ones complement version. JFFS2 (and other things ?) * don't use ones compliment in their CRC calculations. |