summaryrefslogtreecommitdiff
path: root/lib_generic
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:43 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:43 +0200
commitcc4a0ceeac5462106172d0cc9d9d542233aa3ab2 (patch)
tree120ee426f780a47892f00a98e30605115f010f37 /lib_generic
parent4fb09b81920e5dfdfc4576883186733f0bd6059c (diff)
drivers/mtd/nand: Move conditional compilation to Makefile
rename CFG_NAND_LEGACY to CONFIG_NAND_LEGACY Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'lib_generic')
-rw-r--r--lib_generic/crc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_generic/crc32.c b/lib_generic/crc32.c
index 83d1d1d3a0d..b6a7a91620f 100644
--- a/lib_generic/crc32.c
+++ b/lib_generic/crc32.c
@@ -174,7 +174,7 @@ uint32_t ZEXPORT crc32 (uint32_t crc, const Bytef *buf, uInt len)
#if defined(CONFIG_CMD_JFFS2) || \
(defined(CONFIG_CMD_NAND) \
- && !defined(CFG_NAND_LEGACY))
+ && !defined(CONFIG_NAND_LEGACY))
/* No ones complement version. JFFS2 (and other things ?)
* don't use ones compliment in their CRC calculations.