summaryrefslogtreecommitdiff
path: root/board/sixnet/sixnet.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 18:45:16 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 18:48:11 -0500
commitab3abcbabd840928fb1eb5122118ca466b5e5013 (patch)
tree022107d16dfe93cf9a49755a0eeb8ede2dc4e8e4 /board/sixnet/sixnet.c
parent3fe00109a5f12de55b6e25b1f98dfc24bc9090c9 (diff)
downloadu-boot-imx-ab3abcbabd840928fb1eb5122118ca466b5e5013.zip
u-boot-imx-ab3abcbabd840928fb1eb5122118ca466b5e5013.tar.gz
u-boot-imx-ab3abcbabd840928fb1eb5122118ca466b5e5013.tar.bz2
board/[q-z]*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'board/sixnet/sixnet.c')
-rw-r--r--board/sixnet/sixnet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/sixnet/sixnet.c b/board/sixnet/sixnet.c
index d6a26f4..41c74f6 100644
--- a/board/sixnet/sixnet.c
+++ b/board/sixnet/sixnet.c
@@ -33,7 +33,7 @@
# include <status_led.h>
#endif
-#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
@@ -75,7 +75,7 @@ int checkboard (void)
/* ------------------------------------------------------------------------- */
-#if (CONFIG_COMMANDS & CFG_CMD_PCMCIA) || defined(CONFIG_CMD_PCMCIA)
+#if defined(CONFIG_CMD_PCMCIA)
#error "SXNI855T has no PCMCIA port"
#endif /* CFG_CMD_PCMCIA */
@@ -327,7 +327,7 @@ int misc_init_r (void)
return (0);
}
-#if (CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)
+#if defined(CONFIG_CMD_NAND)
void nand_init(void)
{
unsigned long totlen = nand_probe(CFG_DFLASH_BASE);