summaryrefslogtreecommitdiff
path: root/board/mbx8xx/pcmcia.c
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/mbx8xx/pcmcia.c
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/mbx8xx/pcmcia.c')
-rw-r--r--board/mbx8xx/pcmcia.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/mbx8xx/pcmcia.c b/board/mbx8xx/pcmcia.c
index 36480e0..a02c848 100644
--- a/board/mbx8xx/pcmcia.c
+++ b/board/mbx8xx/pcmcia.c
@@ -6,11 +6,11 @@
#undef CONFIG_PCMCIA
-#if (CONFIG_COMMANDS & CFG_CMD_PCMCIA) || defined(CONFIG_CMD_PCMCIA)
+#if defined(CONFIG_CMD_PCMCIA)
#define CONFIG_PCMCIA
#endif
-#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || defined(CONFIG_CMD_IDE)) && defined(CONFIG_IDE_8xx_PCCARD)
+#if defined(CONFIG_CMD_IDE) && defined(CONFIG_IDE_8xx_PCCARD)
#define CONFIG_PCMCIA
#endif
@@ -156,11 +156,11 @@ int pcmcia_hardware_enable (int slot)
return (0);
}
-#if (CONFIG_COMMANDS & CFG_CMD_PCMCIA) || defined(CONFIG_CMD_PCMCIA)
+#if defined(CONFIG_CMD_PCMCIA)
int pcmcia_hardware_disable (int slot)
{
return 0; /* No hardware to disable */
}
-#endif /* CFG_CMD_PCMCIA */
+#endif
#endif /* CONFIG_PCMCIA */