summaryrefslogtreecommitdiff
path: root/board/omap2420h4
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 18:38:39 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 18:48:09 -0500
commit3fe00109a5f12de55b6e25b1f98dfc24bc9090c9 (patch)
tree064db83c6bcefe2d2b89f3b18a532ec69df221d5 /board/omap2420h4
parentc508a4cefd8a953fc64957650506a035e6e3d9d1 (diff)
downloadu-boot-imx-3fe00109a5f12de55b6e25b1f98dfc24bc9090c9.zip
u-boot-imx-3fe00109a5f12de55b6e25b1f98dfc24bc9090c9.tar.gz
u-boot-imx-3fe00109a5f12de55b6e25b1f98dfc24bc9090c9.tar.bz2
board/[m-p]*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'board/omap2420h4')
-rw-r--r--board/omap2420h4/omap2420h4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/omap2420h4/omap2420h4.c b/board/omap2420h4/omap2420h4.c
index 3bb9bdd..1b917b3 100644
--- a/board/omap2420h4/omap2420h4.c
+++ b/board/omap2420h4/omap2420h4.c
@@ -31,7 +31,7 @@
#include <asm/arch/mem.h>
#include <i2c.h>
#include <asm/mach-types.h>
-#if (CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)
+#if defined(CONFIG_CMD_NAND)
#include <linux/mtd/nand_legacy.h>
extern struct nand_chip nand_dev_desc[CFG_MAX_NAND_DEVICE];
#endif
@@ -847,7 +847,7 @@ void update_mux(u32 btype,u32 mtype)
}
}
-#if (CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)
+#if defined(CONFIG_CMD_NAND)
void nand_init(void)
{
extern flash_info_t flash_info[];