]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib_generic/crc32.c
Remove legacy NAND and disk on chip code.
[karo-tx-uboot.git] / lib_generic / crc32.c
index 3927ce13c29669abf074e079c036532de827f875..b27048ceebf2f07075457aedc5f1b0a3cb6db381 100644 (file)
@@ -172,9 +172,7 @@ uint32_t ZEXPORT crc32 (uint32_t crc, const Bytef *buf, uInt len)
     return crc ^ 0xffffffffL;
 }
 
-#if defined(CONFIG_CMD_JFFS2) || \
-       (defined(CONFIG_CMD_NAND) \
-       && !defined(CONFIG_NAND_LEGACY))
+#if defined(CONFIG_CMD_JFFS2) || defined(CONFIG_CMD_NAND)
 
 /* No ones complement version. JFFS2 (and other things ?)
  * don't use ones compliment in their CRC calculations.