diff options
| author | Wolfgang Denk <[email protected]> | 2006-10-12 01:26:20 +0200 |
|---|---|---|
| committer | Wolfgang Denk <[email protected]> | 2006-10-12 01:26:20 +0200 |
| commit | 34a7ceeff449be015a37d0e3f3178ca313618349 (patch) | |
| tree | dda85b95dfa92302c7abf3f7243c79b19f089549 /lib_generic | |
| parent | 7e2a24dca9a3213f0b4941562e4387e20bec3e2d (diff) | |
| parent | ea237a4d258f269785e984ad031f752536b4eedf (diff) | |
Merge with /home/wd/git/u-boot/master
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 82834135022..3db224a3649 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. |
