|
@@ -171,9 +171,8 @@ uLong ZEXPORT crc32(crc, buf, len)
|
|
return crc ^ 0xffffffffL;
|
|
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 ?)
|
|
/* No ones complement version. JFFS2 (and other things ?)
|
|
* don't use ones compliment in their CRC calculations.
|
|
* don't use ones compliment in their CRC calculations.
|