summaryrefslogtreecommitdiff
path: root/board/esd/cpci5200/cpci5200.c
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/cpci5200/cpci5200.c
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/cpci5200/cpci5200.c')
-rw-r--r--board/esd/cpci5200/cpci5200.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/esd/cpci5200/cpci5200.c b/board/esd/cpci5200/cpci5200.c
index a925b84..adb8597 100644
--- a/board/esd/cpci5200/cpci5200.c
+++ b/board/esd/cpci5200/cpci5200.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)
void init_ide_reset(void)
{
@@ -217,7 +217,7 @@ void ide_set_reset(int idereset)
*(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)