summaryrefslogtreecommitdiff
path: root/drivers/nand_legacy
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 17:39:42 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 17:39:42 -0500
commitcb51c0bf88f95a1bca68324b0126f8eed8b43273 (patch)
tree880cc2d5f81365ffa61713de4164cf2e0116377e /drivers/nand_legacy
parent07d38a17e964aec4c7827f0ee9a583bc8cc1ad6b (diff)
downloadu-boot-imx-cb51c0bf88f95a1bca68324b0126f8eed8b43273.zip
u-boot-imx-cb51c0bf88f95a1bca68324b0126f8eed8b43273.tar.gz
u-boot-imx-cb51c0bf88f95a1bca68324b0126f8eed8b43273.tar.bz2
drivers/[n-z]*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'drivers/nand_legacy')
-rw-r--r--drivers/nand_legacy/nand_legacy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nand_legacy/nand_legacy.c b/drivers/nand_legacy/nand_legacy.c
index 18b4e45..fcb6d2b 100644
--- a/drivers/nand_legacy/nand_legacy.c
+++ b/drivers/nand_legacy/nand_legacy.c
@@ -22,7 +22,7 @@
# define SHOW_BOOT_PROGRESS(arg)
#endif
-#if ((CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)) && defined(CFG_NAND_LEGACY)
+#if defined(CONFIG_CMD_NAND) && defined(CFG_NAND_LEGACY)
#include <linux/mtd/nand_legacy.h>
#include <linux/mtd/nand_ids.h>
@@ -1616,4 +1616,4 @@ int read_jffs2_nand(size_t start, size_t len,
}
#endif /* CONFIG_JFFS2_NAND */
-#endif /* (CONFIG_COMMANDS & CFG_CMD_NAND) && defined(CFG_NAND_LEGACY) */
+#endif