net: Adds Fast Ethernet Controller driver for Armada100
[oweals/u-boot.git] / drivers / pcmcia / pxa_pcmcia.c
index 65427efdbde88cd037fe9044e114beb3e09f3eae..d06ab746c8ad8c50e7a293daa8dfa47c548983fa 100644 (file)
@@ -1,8 +1,6 @@
 #include <common.h>
 #include <config.h>
 
-#ifdef CONFIG_PXA_PCMCIA
-
 #include <pcmcia.h>
 #include <asm/arch/pxa-regs.h>
 #include <asm/io.h>
@@ -15,12 +13,12 @@ static inline void msWait(unsigned msVal)
 int pcmcia_on (void)
 {
        unsigned int reg_arr[] = {
-               0x48000028, CFG_MCMEM0_VAL,
-               0x4800002c, CFG_MCMEM1_VAL,
-               0x48000030, CFG_MCATT0_VAL,
-               0x48000034, CFG_MCATT1_VAL,
-               0x48000038, CFG_MCIO0_VAL,
-               0x4800003c, CFG_MCIO1_VAL,
+               0x48000028, CONFIG_SYS_MCMEM0_VAL,
+               0x4800002c, CONFIG_SYS_MCMEM1_VAL,
+               0x48000030, CONFIG_SYS_MCATT0_VAL,
+               0x48000034, CONFIG_SYS_MCATT1_VAL,
+               0x48000038, CONFIG_SYS_MCIO0_VAL,
+               0x4800003c, CONFIG_SYS_MCIO1_VAL,
 
                0, 0
        };
@@ -93,5 +91,3 @@ int pcmcia_off (void)
        return 0;
 }
 #endif
-
-#endif /* CONFIG_PXA_PCMCIA */