]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - lib_generic/crc32.c
Fix the exception occuring in RAM table search issue.
[karo-tx-uboot.git] / lib_generic / crc32.c
index 828341350226e2bf68535e597fdb0055677db693..3d99b69296c7e4504126b175a58176581ff57f08 100644 (file)
@@ -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.