This is the first commit for the u-boot zylonite port. The following has be
[platform/kernel/u-boot.git] / cpu / pxa / cpu.c
index d1551dd..445ba18 100644 (file)
@@ -143,6 +143,7 @@ int dcache_status (void)
        return 0;                                       /* always off */
 }
 
+#ifndef CONFIG_CPU_MONAHANS
 void set_GPIO_mode(int gpio_mode)
 {
        int gpio = gpio_mode & GPIO_MD_MASK_NR;
@@ -160,3 +161,5 @@ void set_GPIO_mode(int gpio_mode)
        gafr = GAFR(gpio) & ~(0x3 << (((gpio) & 0xf)*2));
        GAFR(gpio) = gafr |  (fn  << (((gpio) & 0xf)*2));
 }
+#endif /* CONFIG_CPU_MONAHANS */
+