summaryrefslogtreecommitdiff
path: root/board/dbau1x00
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-01-22 18:13:04 (GMT)
committerwdenk <wdenk>2005-01-22 18:13:04 (GMT)
commitc3d2b4b48a225edd35f80f4b7b8e70e628366575 (patch)
tree9c3968e2a538aaed1194e94ee9995ee810f76506 /board/dbau1x00
parent5a95f6fbd21c542a6df0a41fb827ad7e7c9b17d8 (diff)
downloadu-boot-c3d2b4b48a225edd35f80f4b7b8e70e628366575.tar.xz
Code cleanup.
Diffstat (limited to 'board/dbau1x00')
-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;