2 * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
8 unsigned int *default_irq_priority
;
10 void (*register_clocks
)(void);
14 extern struct at91_init_soc at91_boot_soc
;
15 extern struct at91_init_soc at91cap9_soc
;
16 extern struct at91_init_soc at91rm9200_soc
;
17 extern struct at91_init_soc at91sam9260_soc
;
18 extern struct at91_init_soc at91sam9261_soc
;
19 extern struct at91_init_soc at91sam9263_soc
;
20 extern struct at91_init_soc at91sam9g45_soc
;
21 extern struct at91_init_soc at91sam9rl_soc
;
22 extern struct at91_init_soc at91sam9x5_soc
;
24 static inline int at91_soc_is_enabled(void)
26 return at91_boot_soc
.init
!= NULL
;
29 #if !defined(CONFIG_ARCH_AT91CAP9)
30 #define at91cap9_soc at91_boot_soc
33 #if !defined(CONFIG_ARCH_AT91RM9200)
34 #define at91rm9200_soc at91_boot_soc
37 #if !(defined(CONFIG_ARCH_AT91SAM9260) || defined(CONFIG_ARCH_AT91SAM9G20))
38 #define at91sam9260_soc at91_boot_soc
41 #if !(defined(CONFIG_ARCH_AT91SAM9261) || defined(CONFIG_ARCH_AT91SAM9G10))
42 #define at91sam9261_soc at91_boot_soc
45 #if !defined(CONFIG_ARCH_AT91SAM9263)
46 #define at91sam9263_soc at91_boot_soc
49 #if !defined(CONFIG_ARCH_AT91SAM9G45)
50 #define at91sam9g45_soc at91_boot_soc
53 #if !defined(CONFIG_ARCH_AT91SAM9RL)
54 #define at91sam9rl_soc at91_boot_soc
57 #if !defined(CONFIG_ARCH_AT91SAM9X5)
58 #define at91sam9x5_soc at91_boot_soc