Merge tag 'u-boot-atmel-2019.07-b' of git://git.denx.de/u-boot-atmel
[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_SAMA5D2_ICP
184         bool "SAMA5D2 Industrial Connectivity Platform (ICP)"
185         select CPU_V7A
186         select SUPPORT_SPL
187         select BOARD_EARLY_INIT_F
188         select BOARD_LATE_INIT
189         help
190           The SAMA5D2 ICP embeds SAMA5D27 rev. C SoC, together with
191           a 64Mbit QSPI flash, 3xMikrobus connectors, 4xUSB ,
192           EtherCat and WILC3000 devices on board.
193
194 config TARGET_SAMA5D3_XPLAINED
195         bool "SAMA5D3 Xplained board"
196         select BOARD_EARLY_INIT_F
197         select SAMA5D3
198         select SUPPORT_SPL
199         select BOARD_LATE_INIT
200
201 config TARGET_SAMA5D3XEK
202         bool "SAMA5D3X-EK board"
203         select BOARD_EARLY_INIT_F
204         select BOARD_LATE_INIT
205         select SAMA5D3
206         select SUPPORT_SPL
207
208 config TARGET_SAMA5D4_XPLAINED
209         bool "SAMA5D4 Xplained board"
210         select BOARD_EARLY_INIT_F
211         select BOARD_LATE_INIT
212         select SAMA5D4
213         select SUPPORT_SPL
214
215 config TARGET_SAMA5D4EK
216         bool "SAMA5D4 Evaluation Kit"
217         select BOARD_EARLY_INIT_F
218         select BOARD_LATE_INIT
219         select SAMA5D4
220         select SUPPORT_SPL
221
222 config TARGET_MEESC
223         bool "Support meesc"
224         select AT91SAM9263
225
226 config TARGET_CORVUS
227         bool "Support corvus"
228         select AT91SAM9M10G45
229         select DM
230         select DM_ETH
231         select DM_GPIO
232         select DM_SERIAL
233         select SUPPORT_SPL
234         imply CMD_DM
235
236 config TARGET_TAURUS
237         bool "Support taurus"
238         select AT91SAM9G20
239         select DM
240         select DM_ETH
241         select DM_GPIO
242         select DM_SERIAL
243         select DM_SPI
244         select SPI
245         select SUPPORT_SPL
246         imply CMD_DM
247
248 config TARGET_SMARTWEB
249         bool "Support smartweb"
250         select AT91SAM9260
251         select DM
252         select DM_ETH
253         select DM_GPIO
254         select DM_SERIAL
255         select SUPPORT_SPL
256         imply CMD_DM
257
258 config TARGET_VINCO
259         bool "Support VINCO"
260         select DM
261         select DM_SPI
262         select SAMA5D4
263         select SPI
264         select SUPPORT_SPL
265         imply CMD_DM
266
267 config TARGET_WB45N
268         bool "Support Laird WB45N"
269         select CPU_ARM926EJS
270         select SUPPORT_SPL
271
272 config TARGET_WB50N
273         bool "Support Laird WB50N"
274         select BOARD_EARLY_INIT_F
275         select BOARD_LATE_INIT
276         select CPU_V7A
277         select SUPPORT_SPL
278
279 endchoice
280
281 config SYS_SOC
282         default "at91"
283
284 source "board/atmel/at91rm9200ek/Kconfig"
285 source "board/atmel/at91sam9260ek/Kconfig"
286 source "board/atmel/at91sam9261ek/Kconfig"
287 source "board/atmel/at91sam9263ek/Kconfig"
288 source "board/atmel/at91sam9m10g45ek/Kconfig"
289 source "board/atmel/at91sam9n12ek/Kconfig"
290 source "board/atmel/at91sam9rlek/Kconfig"
291 source "board/atmel/at91sam9x5ek/Kconfig"
292 source "board/atmel/sama5d2_ptc_ek/Kconfig"
293 source "board/atmel/sama5d2_xplained/Kconfig"
294 source "board/atmel/sama5d27_som1_ek/Kconfig"
295 source "board/atmel/sama5d2_icp/Kconfig"
296 source "board/atmel/sama5d3_xplained/Kconfig"
297 source "board/atmel/sama5d3xek/Kconfig"
298 source "board/atmel/sama5d4_xplained/Kconfig"
299 source "board/atmel/sama5d4ek/Kconfig"
300 source "board/bluewater/gurnard/Kconfig"
301 source "board/bluewater/snapper9260/Kconfig"
302 source "board/calao/usb_a9263/Kconfig"
303 source "board/egnite/ethernut5/Kconfig"
304 source "board/esd/meesc/Kconfig"
305 source "board/gardena/smart-gateway-at91sam/Kconfig"
306 source "board/l+g/vinco/Kconfig"
307 source "board/mini-box/picosam9g45/Kconfig"
308 source "board/ronetix/pm9261/Kconfig"
309 source "board/ronetix/pm9263/Kconfig"
310 source "board/ronetix/pm9g45/Kconfig"
311 source "board/siemens/corvus/Kconfig"
312 source "board/siemens/taurus/Kconfig"
313 source "board/siemens/smartweb/Kconfig"
314 source "board/laird/wb45n/Kconfig"
315 source "board/laird/wb50n/Kconfig"
316
317 config SPL_LDSCRIPT
318         default "arch/arm/mach-at91/arm926ejs/u-boot-spl.lds" if CPU_ARM926EJS
319         default "arch/arm/mach-at91/armv7/u-boot-spl.lds" if CPU_V7A
320
321 endif