2 * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
13 extern struct at91_init_soc at91_boot_soc;
14 extern struct at91_init_soc at91rm9200_soc;
15 extern struct at91_init_soc at91sam9260_soc;
16 extern struct at91_init_soc at91sam9261_soc;
17 extern struct at91_init_soc at91sam9263_soc;
18 extern struct at91_init_soc at91sam9g45_soc;
19 extern struct at91_init_soc at91sam9rl_soc;
20 extern struct at91_init_soc at91sam9x5_soc;
21 extern struct at91_init_soc at91sam9n12_soc;
22 extern struct at91_init_soc sama5d3_soc;
23 extern struct at91_init_soc sama5d4_soc;
25 #define AT91_SOC_START(_name) \
26 struct at91_init_soc __initdata _name##_soc \
31 #define AT91_SOC_END \
34 static inline int at91_soc_is_enabled(void)
36 return at91_boot_soc.builtin;
39 #if !defined(CONFIG_SOC_AT91RM9200)
40 #define at91rm9200_soc at91_boot_soc
43 #if !defined(CONFIG_SOC_AT91SAM9260)
44 #define at91sam9260_soc at91_boot_soc
47 #if !defined(CONFIG_SOC_AT91SAM9261)
48 #define at91sam9261_soc at91_boot_soc
51 #if !defined(CONFIG_SOC_AT91SAM9263)
52 #define at91sam9263_soc at91_boot_soc
55 #if !defined(CONFIG_SOC_AT91SAM9G45)
56 #define at91sam9g45_soc at91_boot_soc
59 #if !defined(CONFIG_SOC_AT91SAM9RL)
60 #define at91sam9rl_soc at91_boot_soc
63 #if !defined(CONFIG_SOC_AT91SAM9X5)
64 #define at91sam9x5_soc at91_boot_soc
67 #if !defined(CONFIG_SOC_AT91SAM9N12)
68 #define at91sam9n12_soc at91_boot_soc
71 #if !defined(CONFIG_SOC_SAMA5D3)
72 #define sama5d3_soc at91_boot_soc
75 #if !defined(CONFIG_SOC_SAMA5D4)
76 #define sama5d4_soc at91_boot_soc