summaryrefslogtreecommitdiff
path: root/board/dbau1x00/dbau1x00.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-01-22 18:13:04 +0000
committerwdenk <wdenk>2005-01-22 18:13:04 +0000
commitc3d2b4b48a225edd35f80f4b7b8e70e628366575 (patch)
tree9c3968e2a538aaed1194e94ee9995ee810f76506 /board/dbau1x00/dbau1x00.c
parent5a95f6fbd21c542a6df0a41fb827ad7e7c9b17d8 (diff)
downloadu-boot-imx-c3d2b4b48a225edd35f80f4b7b8e70e628366575.zip
u-boot-imx-c3d2b4b48a225edd35f80f4b7b8e70e628366575.tar.gz
u-boot-imx-c3d2b4b48a225edd35f80f4b7b8e70e628366575.tar.bz2
Code cleanup.
Diffstat (limited to 'board/dbau1x00/dbau1x00.c')
-rw-r--r--board/dbau1x00/dbau1x00.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/dbau1x00/dbau1x00.c b/board/dbau1x00/dbau1x00.c
index 1f7253e..d29e8d5 100644
--- a/board/dbau1x00/dbau1x00.c
+++ b/board/dbau1x00/dbau1x00.c
@@ -41,8 +41,10 @@ void write_one_tlb( int index, u32 pagemask, u32 hi, u32 low0, u32 low1 );
int checkboard (void)
{
+#ifdef CONFIG_IDE_PCMCIA
u16 status;
volatile u32 *pcmcia_bcsr = (u32*)(DB1XX0_BCSR_ADDR+0x10);
+#endif /* CONFIG_IDE_PCMCIA */
volatile u32 *phy = (u32*)(DB1XX0_BCSR_ADDR+0xC);
volatile u32 *sys_counter = (volatile u32*)SYS_COUNTER_CNTRL;
u32 proc_id;