]> git.sur5r.net Git - u-boot/commitdiff
pb1x00 board: Fix u16 status declaration when PCMCIA is defined
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 18 Nov 2007 11:55:02 +0000 (12:55 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 18 Nov 2007 20:49:00 +0000 (21:49 +0100)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
board/pb1x00/pb1x00.c

index 95b7d8246ee480505f638b4fc6af9c2ea8d37c29..536c9544f53e407e9682c6a19ceb824d30ac8e0c 100644 (file)
@@ -42,7 +42,9 @@ void write_one_tlb( int index, u32 pagemask, u32 hi, u32 low0, u32 low1 );
 
 int checkboard (void)
 {
+#if defined(CONFIG_IDE_PCMCIA) && 0
        u16 status;
+#endif
        /* volatile u32 *pcmcia_bcsr = (u32*)(DB1000_BCSR_ADDR+0x10); */
        volatile u32 *sys_counter = (volatile u32*)SYS_COUNTER_CNTRL;
        u32 proc_id;