]> git.sur5r.net Git - u-boot/blobdiff - lib_generic/crc32.c
fs/: Remove lingering references to CFG_CMD_* symbols.
[u-boot] / lib_generic / crc32.c
index 828341350226e2bf68535e597fdb0055677db693..da23336d2c0c1cf2e9ca7ca14037717cb8dce649 100644 (file)
@@ -171,9 +171,9 @@ 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 defined(CONFIG_CMD_JFFS2) || \
+       (defined(CONFIG_CMD_NAND) \
+       && !defined(CFG_NAND_LEGACY))
 
 /* No ones complement version. JFFS2 (and other things ?)
  * don't use ones compliment in their CRC calculations.