diff options
author | Stefan Roese <sr@denx.de> | 2006-10-11 16:57:01 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2006-10-11 17:04:11 +0200 |
commit | 752d6837c3ea93e9e1c51165886b1aa77b144745 (patch) | |
tree | d19967433e39d10b3acfd28fa61f05a7d65c4ec7 /lib_generic | |
parent | 2255b2d2044d434463eb2661e18018e50f1643d9 (diff) | |
download | u-boot-imx-752d6837c3ea93e9e1c51165886b1aa77b144745.zip u-boot-imx-752d6837c3ea93e9e1c51165886b1aa77b144745.tar.gz u-boot-imx-752d6837c3ea93e9e1c51165886b1aa77b144745.tar.bz2 |
Cleanup of NAND update patch (remove changelog from cmd_nand.c)
Patch by Guido Classen, 10 Oct 2006
Diffstat (limited to 'lib_generic')
-rw-r--r-- | lib_generic/crc32.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib_generic/crc32.c b/lib_generic/crc32.c index 8283413..3db224a 100644 --- a/lib_generic/crc32.c +++ b/lib_generic/crc32.c @@ -171,9 +171,8 @@ uLong ZEXPORT crc32(crc, buf, len) return crc ^ 0xffffffffL; } -#if (CONFIG_COMMANDS & CFG_CMD_JFFS2) \ - || (CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY) - +#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. |