summaryrefslogtreecommitdiff
path: root/lib_generic
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 18:05:38 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 18:05:38 -0500
commit67350568f9d46e66c21829f3513b3db0caeb948b (patch)
tree09cd0746c499b6e33faf7a2b15f04ea94dbc0289 /lib_generic
parent7def6b34f910f08d7ef0a14646da067719237ca2 (diff)
downloadu-boot-imx-67350568f9d46e66c21829f3513b3db0caeb948b.zip
u-boot-imx-67350568f9d46e66c21829f3513b3db0caeb948b.tar.gz
u-boot-imx-67350568f9d46e66c21829f3513b3db0caeb948b.tar.bz2
lib_{arm,avr32,blackfin,generic,i386}/: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'lib_generic')
-rw-r--r--lib_generic/crc32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_generic/crc32.c b/lib_generic/crc32.c
index 84deba9..da23336 100644
--- a/lib_generic/crc32.c
+++ b/lib_generic/crc32.c
@@ -171,8 +171,8 @@ uLong ZEXPORT crc32(crc, buf, len)
return crc ^ 0xffffffffL;
}
-#if ((CONFIG_COMMANDS & CFG_CMD_JFFS2) || defined(CONFIG_CMD_JFFS2)) || \
- (((CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)) \
+#if defined(CONFIG_CMD_JFFS2) || \
+ (defined(CONFIG_CMD_NAND) \
&& !defined(CFG_NAND_LEGACY))
/* No ones complement version. JFFS2 (and other things ?)