summaryrefslogtreecommitdiff
path: root/board/esd/mecp5200
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-10 10:39:10 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-10 10:39:10 -0500
commit77a318545d57aefa844752465b94c7e09a3f26d0 (patch)
tree55af00384fa493e77150be599424539ecdc6a51d /board/esd/mecp5200
parent068b60a0eb7e73b243ca55399f2a7df76e2c3f3d (diff)
downloadu-boot-imx-77a318545d57aefa844752465b94c7e09a3f26d0.zip
u-boot-imx-77a318545d57aefa844752465b94c7e09a3f26d0.tar.gz
u-boot-imx-77a318545d57aefa844752465b94c7e09a3f26d0.tar.bz2
board/[A-Za-i]*: Remove lingering references to CFG_CMD_* symbols.
Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'board/esd/mecp5200')
-rw-r--r--board/esd/mecp5200/mecp5200.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/esd/mecp5200/mecp5200.c b/board/esd/mecp5200/mecp5200.c
index c4b91e9..ea49f26 100644
--- a/board/esd/mecp5200/mecp5200.c
+++ b/board/esd/mecp5200/mecp5200.c
@@ -196,7 +196,7 @@ void pci_init_board(void)
}
#endif
-#if defined (CFG_CMD_IDE) && defined (CONFIG_IDE_RESET)
+#if defined(CONFIG_CMD_IDE) && defined(CONFIG_IDE_RESET)
#define GPIO_PSC1_4 0x01000000UL
@@ -218,7 +218,7 @@ void ide_set_reset(int idereset)
else
*(vu_long *) MPC5XXX_WU_GPIO_DATA_O |= GPIO_PSC1_4;
}
-#endif /* defined (CFG_CMD_IDE) && defined (CONFIG_IDE_RESET) */
+#endif
#define MPC5XXX_SIMPLEIO_GPIO_ENABLE (MPC5XXX_GPIO + 0x0004)
#define MPC5XXX_SIMPLEIO_GPIO_DIR (MPC5XXX_GPIO + 0x000C)