ARM: at91: SAMA5D4 SoC detection code and low level routines
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-at91 / generic.h
index 26dee3ce9397a0cf41705d0fbafe6ee87b0a9fbc..cddf1e51c50eb0518e33f59f5d6cf07f17917583 100644 (file)
@@ -14,6 +14,7 @@
 
  /* Map io */
 extern void __init at91_map_io(void);
+extern void __init at91_alt_map_io(void);
 extern void __init at91_init_sram(int bank, unsigned long base,
                                  unsigned int length);
 
@@ -46,11 +47,12 @@ extern void at91sam926x_pit_init(void);
 extern void at91x40_timer_init(void);
 
  /* Clocks */
-#ifdef CONFIG_AT91_PMC_UNIT
+#ifdef CONFIG_OLD_CLK_AT91
 extern int __init at91_clock_init(unsigned long main_clock);
 extern int __init at91_dt_clock_init(void);
 #else
 static int inline at91_clock_init(unsigned long main_clock) { return 0; }
+static int inline at91_dt_clock_init(void) { return 0; }
 #endif
 struct device;