arm: at91: Add gardena-gateway-at91sam support
[oweals/u-boot.git] / arch / arm / mach-at91 / Kconfig
1 if ARCH_AT91
2
3 config AT91FAMILY
4         def_bool y
5
6 config AT91SAM9260
7         bool
8         select CPU_ARM926EJS
9
10 config AT91SAM9G20
11         bool
12         select CPU_ARM926EJS
13
14 config AT91SAM9XE
15         bool
16         select CPU_ARM926EJS
17
18 config AT91SAM9261
19         bool
20         select CPU_ARM926EJS
21
22 config AT91SAM9263
23         bool
24         select CPU_ARM926EJS
25
26 config AT91SAM9G45
27         bool
28         select CPU_ARM926EJS
29
30 config AT91SAM9M10G45
31         bool
32         select CPU_ARM926EJS
33
34 config AT91SAM9N12
35         bool
36         select CPU_ARM926EJS
37
38 config AT91SAM9RL
39         bool
40         select CPU_ARM926EJS
41
42 config AT91SAM9X5
43         bool
44         select CPU_ARM926EJS
45
46 config SAMA5D2
47         bool
48         select CPU_V7A
49
50 config SAMA5D3
51         bool
52         select CPU_V7A
53
54 config SAMA5D4
55         bool
56         select CPU_V7A
57
58 choice
59         prompt "Atmel AT91 board select"
60         optional
61
62 config TARGET_AT91RM9200EK
63         bool "Atmel AT91RM9200 evaluation kit"
64         select CPU_ARM920T
65
66 config TARGET_AT91SAM9260EK
67         bool "Atmel at91sam9260 reference board"
68         select AT91SAM9260
69         select BOARD_EARLY_INIT_F
70
71 config TARGET_ETHERNUT5
72         bool "Ethernut5 board"
73         select AT91SAM9XE
74
75 config TARGET_SNAPPER9260
76         bool "Support snapper9260"
77         select AT91SAM9260
78         select DM
79         select DM_GPIO
80         select DM_SERIAL
81         imply CMD_DM
82
83 config TARGET_GURNARD
84         bool "Support gurnard"
85         select AT91SAM9G45
86         select BOARD_LATE_INIT
87         select DM
88         select DM_ETH
89         select DM_GPIO
90         select DM_SERIAL
91         select DM_SPI
92         select SPI
93         imply CMD_DM
94
95 config TARGET_AT91SAM9261EK
96         bool "Atmel at91sam9261 reference board"
97         select AT91SAM9261
98         select BOARD_EARLY_INIT_F
99
100 config TARGET_PM9261
101         bool "Ronetix pm9261 board"
102         select AT91SAM9261
103
104 config TARGET_AT91SAM9263EK
105         bool "Atmel at91sam9263 reference board"
106         select AT91SAM9263
107         select BOARD_EARLY_INIT_F
108
109 config TARGET_USB_A9263
110         bool "Caloa USB A9260 board"
111         select AT91SAM9263
112
113 config TARGET_PM9263
114         bool "Ronetix pm9263 board"
115         select AT91SAM9263
116
117 config TARGET_AT91SAM9M10G45EK
118         bool "Atmel AT91SAM9M10G45-EK board"
119         select AT91SAM9M10G45
120         select BOARD_EARLY_INIT_F
121         select SUPPORT_SPL
122
123 config TARGET_PM9G45
124         bool "Ronetix pm9g45 board"
125         select AT91SAM9G45
126
127 config TARGET_PICOSAM9G45
128         bool "Mini-box picosam9g45 board"
129         select AT91SAM9M10G45
130         select SUPPORT_SPL
131
132 config TARGET_AT91SAM9N12EK
133         bool "Atmel AT91SAM9N12-EK board"
134         select AT91SAM9N12
135         select BOARD_EARLY_INIT_F
136         select SUPPORT_SPL
137
138 config TARGET_AT91SAM9RLEK
139         bool "Atmel at91sam9rl reference board"
140         select AT91SAM9RL
141         select BOARD_EARLY_INIT_F
142
143 config TARGET_AT91SAM9X5EK
144         bool "Atmel AT91SAM9X5-EK board"
145         select AT91SAM9X5
146         select BOARD_EARLY_INIT_F
147         select BOARD_LATE_INIT
148         select SUPPORT_SPL
149
150 config TARGET_GARDENA_SMART_GATEWAY_AT91SAM
151         bool "GARDENA smart Gateway (AT91SAM)"
152         select AT91SAM9X5
153         select BOARD_EARLY_INIT_F
154         select BOARD_LATE_INIT
155         select SUPPORT_SPL
156
157 config TARGET_SAMA5D2_PTC_EK
158         bool "SAMA5D2 PTC EK board"
159         select BOARD_EARLY_INIT_F
160         select SAMA5D2
161         select BOARD_LATE_INIT
162
163 config TARGET_SAMA5D2_XPLAINED
164         bool "SAMA5D2 Xplained board"
165         select BOARD_EARLY_INIT_F
166         select BOARD_LATE_INIT
167         select SAMA5D2
168         select SUPPORT_SPL
169
170 config TARGET_SAMA5D27_SOM1_EK
171         bool "SAMA5D27 SOM1 EK board"
172         select BOARD_EARLY_INIT_F
173         select BOARD_LATE_INIT
174         select CPU_V7A
175         select SUPPORT_SPL
176         help
177           The SAMA5D27 SOM1 embeds SAMA5D2 SiP(System in Package),
178           a 64Mbit QSPI flash, KSZ8081 Phy and a Mac-address EEPROM
179           24AA02E48. The SAMA5D2 SiP integrates the ARM Cortex-A5
180           processor-based SAMA5D2 MPU with up to 1 Gbit DDR2-SDRAM
181           in a single package.
182
183 config TARGET_SAMA5D3_XPLAINED
184         bool "SAMA5D3 Xplained board"
185         select BOARD_EARLY_INIT_F
186         select SAMA5D3
187         select SUPPORT_SPL
188         select BOARD_LATE_INIT
189
190 config TARGET_SAMA5D3XEK
191         bool "SAMA5D3X-EK board"
192         select BOARD_EARLY_INIT_F
193         select BOARD_LATE_INIT
194         select SAMA5D3
195         select SUPPORT_SPL
196
197 config TARGET_SAMA5D4_XPLAINED
198         bool "SAMA5D4 Xplained board"
199         select BOARD_EARLY_INIT_F
200         select BOARD_LATE_INIT
201         select SAMA5D4
202         select SUPPORT_SPL
203
204 config TARGET_SAMA5D4EK
205         bool "SAMA5D4 Evaluation Kit"
206         select BOARD_EARLY_INIT_F
207         select BOARD_LATE_INIT
208         select SAMA5D4
209         select SUPPORT_SPL
210
211 config TARGET_MEESC
212         bool "Support meesc"
213         select AT91SAM9263
214
215 config TARGET_CORVUS
216         bool "Support corvus"
217         select AT91SAM9M10G45
218         select DM
219         select DM_ETH
220         select DM_GPIO
221         select DM_SERIAL
222         select SUPPORT_SPL
223         imply CMD_DM
224
225 config TARGET_TAURUS
226         bool "Support taurus"
227         select AT91SAM9G20
228         select DM
229         select DM_ETH
230         select DM_GPIO
231         select DM_SERIAL
232         select DM_SPI
233         select SPI
234         select SUPPORT_SPL
235         imply CMD_DM
236
237 config TARGET_SMARTWEB
238         bool "Support smartweb"
239         select AT91SAM9260
240         select DM
241         select DM_ETH
242         select DM_GPIO
243         select DM_SERIAL
244         select SUPPORT_SPL
245         imply CMD_DM
246
247 config TARGET_VINCO
248         bool "Support VINCO"
249         select DM
250         select DM_SPI
251         select SAMA5D4
252         select SPI
253         select SUPPORT_SPL
254         imply CMD_DM
255
256 config TARGET_WB45N
257         bool "Support Laird WB45N"
258         select CPU_ARM926EJS
259         select SUPPORT_SPL
260
261 config TARGET_WB50N
262         bool "Support Laird WB50N"
263         select BOARD_EARLY_INIT_F
264         select BOARD_LATE_INIT
265         select CPU_V7A
266         select SUPPORT_SPL
267
268 endchoice
269
270 config SYS_SOC
271         default "at91"
272
273 source "board/atmel/at91rm9200ek/Kconfig"
274 source "board/atmel/at91sam9260ek/Kconfig"
275 source "board/atmel/at91sam9261ek/Kconfig"
276 source "board/atmel/at91sam9263ek/Kconfig"
277 source "board/atmel/at91sam9m10g45ek/Kconfig"
278 source "board/atmel/at91sam9n12ek/Kconfig"
279 source "board/atmel/at91sam9rlek/Kconfig"
280 source "board/atmel/at91sam9x5ek/Kconfig"
281 source "board/atmel/sama5d2_ptc_ek/Kconfig"
282 source "board/atmel/sama5d2_xplained/Kconfig"
283 source "board/atmel/sama5d27_som1_ek/Kconfig"
284 source "board/atmel/sama5d3_xplained/Kconfig"
285 source "board/atmel/sama5d3xek/Kconfig"
286 source "board/atmel/sama5d4_xplained/Kconfig"
287 source "board/atmel/sama5d4ek/Kconfig"
288 source "board/bluewater/gurnard/Kconfig"
289 source "board/bluewater/snapper9260/Kconfig"
290 source "board/calao/usb_a9263/Kconfig"
291 source "board/egnite/ethernut5/Kconfig"
292 source "board/esd/meesc/Kconfig"
293 source "board/gardena/smart-gateway-at91sam/Kconfig"
294 source "board/l+g/vinco/Kconfig"
295 source "board/mini-box/picosam9g45/Kconfig"
296 source "board/ronetix/pm9261/Kconfig"
297 source "board/ronetix/pm9263/Kconfig"
298 source "board/ronetix/pm9g45/Kconfig"
299 source "board/siemens/corvus/Kconfig"
300 source "board/siemens/taurus/Kconfig"
301 source "board/siemens/smartweb/Kconfig"
302 source "board/laird/wb45n/Kconfig"
303 source "board/laird/wb50n/Kconfig"
304
305 config SPL_LDSCRIPT
306         default "arch/arm/mach-at91/arm926ejs/u-boot-spl.lds" if CPU_ARM926EJS
307         default "arch/arm/mach-at91/armv7/u-boot-spl.lds" if CPU_V7A
308
309 endif