]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/dbau1x00/dbau1x00.c
* Patch by Martin Krause, 27 May 2004:
[karo-tx-uboot.git] / board / dbau1x00 / dbau1x00.c
index 315e412605c8bcc10560149b40ac46b0d54a83bd..df1c15c292d2b9549e30ad1a38b66a126a51758c 100644 (file)
@@ -104,17 +104,17 @@ int checkboard (void)
                      CFG_PCMCIA_ATTR_BASE, /* Hi */
                      0x3D000017,           /* Lo0 */
                      0x3D200017);          /* Lo1 */
-#endif
+#endif /* 0 */
        write_one_tlb(22,                   /* index */
                      0x01ffe000,           /* Pagemask, 16 MB pages */
                      CFG_PCMCIA_MEM_ADDR,  /* Hi */
                      0x3E000017,           /* Lo0 */
                      0x3E200017);          /* Lo1 */
+#endif /* CONFIG_IDE_PCMCIA */
 
        /* Release reset of ethernet PHY chips */
        /* Always do this, because linux does not know about it */
        *phy = 3;
 
        return 0;
-#endif
 }