diff options
author | Jon Loeliger <jdl@freescale.com> | 2007-07-10 10:39:10 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-07-10 10:39:10 -0500 |
commit | 77a318545d57aefa844752465b94c7e09a3f26d0 (patch) | |
tree | 55af00384fa493e77150be599424539ecdc6a51d /board/bc3450 | |
parent | 068b60a0eb7e73b243ca55399f2a7df76e2c3f3d (diff) | |
download | u-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/bc3450')
-rw-r--r-- | board/bc3450/bc3450.c | 4 | ||||
-rw-r--r-- | board/bc3450/cmd_bc3450.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/board/bc3450/bc3450.c b/board/bc3450/bc3450.c index 05bb723..56a73fe 100644 --- a/board/bc3450/bc3450.c +++ b/board/bc3450/bc3450.c @@ -294,7 +294,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) { @@ -315,7 +315,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 #ifdef CONFIG_POST /* diff --git a/board/bc3450/cmd_bc3450.c b/board/bc3450/cmd_bc3450.c index 664166a..1455953 100644 --- a/board/bc3450/cmd_bc3450.c +++ b/board/bc3450/cmd_bc3450.c @@ -824,4 +824,4 @@ U_BOOT_CMD (test, 2, 1, cmd_test, "test - unit test routines\n", "\n" "test unit-off\n" " - turns off the BC3450 unit\n" " WARNING: Unsaved environment variables will be lost!\n"); -#endif /* CFG_CMD_BSP */ +#endif |