Merge tag 'u-boot-stm32-20211012' of https://source.denx.de/u-boot/custodians/u-boot-stm
[platform/kernel/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 SAM9X60
47         bool
48         select CPU_ARM926EJS
49
50 config SAMA7G5
51         bool
52         select CPU_V7A
53
54 config SAMA5D2
55         bool
56         select CPU_V7A
57         select ATMEL_SFR
58
59 config SAMA5D3
60         bool
61         select CPU_V7A
62
63 config SAMA5D4
64         bool
65         select CPU_V7A
66         select ATMEL_SFR
67
68 choice
69         prompt "Atmel AT91 board select"
70         optional
71
72 config TARGET_AT91SAM9260EK
73         bool "Atmel at91sam9260 reference board"
74         select AT91SAM9260
75         select BOARD_EARLY_INIT_F
76
77 config TARGET_ETHERNUT5
78         bool "Ethernut5 board"
79         select AT91SAM9XE
80
81 config TARGET_SNAPPER9260
82         bool "Support snapper9260"
83         select AT91SAM9260
84         select DM
85         select DM_GPIO
86         select DM_SERIAL
87         imply CMD_DM
88
89 config TARGET_GURNARD
90         bool "Support gurnard"
91         select AT91SAM9G45
92         select BOARD_LATE_INIT
93         select DM
94         select DM_ETH
95         select DM_GPIO
96         select DM_SERIAL
97         select DM_SPI
98         select SPI
99         imply CMD_DM
100
101 config TARGET_AT91SAM9261EK
102         bool "Atmel at91sam9261 reference board"
103         select AT91SAM9261
104         select BOARD_EARLY_INIT_F
105
106 config TARGET_PM9261
107         bool "Ronetix pm9261 board"
108         select AT91SAM9261
109
110 config TARGET_AT91SAM9263EK
111         bool "Atmel at91sam9263 reference board"
112         select AT91SAM9263
113         select BOARD_EARLY_INIT_F
114
115 config TARGET_USB_A9263
116         bool "Caloa USB A9260 board"
117         select AT91SAM9263
118
119 config TARGET_PM9263
120         bool "Ronetix pm9263 board"
121         select AT91SAM9263
122
123 config TARGET_AT91SAM9M10G45EK
124         bool "Atmel AT91SAM9M10G45-EK board"
125         select AT91SAM9M10G45
126         select BOARD_EARLY_INIT_F
127         select SUPPORT_SPL
128
129 config TARGET_PM9G45
130         bool "Ronetix pm9g45 board"
131         select AT91SAM9G45
132
133 config TARGET_AT91SAM9N12EK
134         bool "Atmel AT91SAM9N12-EK board"
135         select AT91SAM9N12
136         select BOARD_EARLY_INIT_F
137         select SUPPORT_SPL
138
139 config TARGET_AT91SAM9RLEK
140         bool "Atmel at91sam9rl reference board"
141         select AT91SAM9RL
142         select BOARD_EARLY_INIT_F
143
144 config TARGET_AT91SAM9X5EK
145         bool "Atmel AT91SAM9X5-EK board"
146         select AT91SAM9X5
147         select BOARD_EARLY_INIT_F
148         select BOARD_LATE_INIT
149         select SUPPORT_SPL
150
151 config TARGET_GARDENA_SMART_GATEWAY_AT91SAM
152         bool "GARDENA smart Gateway (AT91SAM)"
153         select AT91SAM9X5
154         select BOARD_EARLY_INIT_F
155         select BOARD_LATE_INIT
156         select SUPPORT_SPL
157
158 config TARGET_SAM9X60EK
159         bool "SAM9X60-EK board"
160         select SAM9X60
161         select BOARD_EARLY_INIT_F
162         select BOARD_LATE_INIT
163
164 config TARGET_SAMA5D2_PTC_EK
165         bool "SAMA5D2 PTC EK board"
166         select BOARD_EARLY_INIT_F
167         select SAMA5D2
168         select BOARD_LATE_INIT
169
170 config TARGET_SAMA5D2_XPLAINED
171         bool "SAMA5D2 Xplained board"
172         select BOARD_EARLY_INIT_F
173         select BOARD_LATE_INIT
174         select SAMA5D2
175         select SUPPORT_SPL
176
177 config TARGET_SAMA5D27_SOM1_EK
178         bool "SAMA5D27 SOM1 EK board"
179         select BOARD_EARLY_INIT_F
180         select BOARD_LATE_INIT
181         select CPU_V7A
182         select SUPPORT_SPL
183         select ATMEL_SFR
184         help
185           The SAMA5D27 SOM1 embeds SAMA5D2 SiP(System in Package),
186           a 64Mbit QSPI flash, KSZ8081 Phy and a Mac-address EEPROM
187           24AA02E48. The SAMA5D2 SiP integrates the ARM Cortex-A5
188           processor-based SAMA5D2 MPU with up to 1 Gbit DDR2-SDRAM
189           in a single package.
190
191 config TARGET_SAMA5D27_WLSOM1_EK
192         bool "SAMA5D27 WLSOM1 EK board"
193         select SAMA5D2
194         select BOARD_EARLY_INIT_F
195         select BOARD_LATE_INIT
196         select CPU_V7A
197         select SUPPORT_SPL
198         help
199           The SAMA5D27 WLSOM1 embeds SAMA5D2 SiP (System in Package),
200           a 64Mbit QSPI flash with Mac-address, KSZ8081 Phy. A wireless
201           module providing bluetooth and wifi is also embedded.
202           The SAMA5D2 SiP integrates the ARM Cortex-A5
203           processor-based SAMA5D2 MPU with 2 Gbit LPDDR2-SDRAM
204           in a single package.
205
206 config TARGET_SAMA5D2_ICP
207         bool "SAMA5D2 Industrial Connectivity Platform (ICP)"
208         select SAMA5D2
209         select SUPPORT_SPL
210         select BOARD_EARLY_INIT_F
211         select BOARD_LATE_INIT
212         help
213           The SAMA5D2 ICP embeds SAMA5D27 rev. C SoC, together with
214           a 64Mbit QSPI flash, 3xMikrobus connectors, 4xUSB ,
215           EtherCat and WILC3000 devices on board.
216
217 config TARGET_SAMA5D3_XPLAINED
218         bool "SAMA5D3 Xplained board"
219         select BOARD_EARLY_INIT_F
220         select SAMA5D3
221         select SUPPORT_SPL
222         select BOARD_LATE_INIT
223
224 config TARGET_SAMA5D3XEK
225         bool "SAMA5D3X-EK board"
226         select BOARD_EARLY_INIT_F
227         select BOARD_LATE_INIT
228         select SAMA5D3
229         select SUPPORT_SPL
230
231 config TARGET_SAMA5D4_XPLAINED
232         bool "SAMA5D4 Xplained board"
233         select BOARD_EARLY_INIT_F
234         select BOARD_LATE_INIT
235         select SAMA5D4
236         select SUPPORT_SPL
237
238 config TARGET_SAMA5D4EK
239         bool "SAMA5D4 Evaluation Kit"
240         select BOARD_EARLY_INIT_F
241         select BOARD_LATE_INIT
242         select SAMA5D4
243         select SUPPORT_SPL
244
245 config TARGET_MEESC
246         bool "Support meesc"
247         select AT91SAM9263
248
249 config TARGET_CORVUS
250         bool "Support corvus"
251         select AT91SAM9M10G45
252         select DM
253         select DM_ETH
254         select DM_GPIO
255         select DM_SERIAL
256         select SUPPORT_SPL
257         imply CMD_DM
258
259 config TARGET_SAMA7G5EK
260        bool "SAMA7G5 EK board"
261        select SAMA7G5
262        select BOARD_EARLY_INIT_F
263        select BOARD_LATE_INIT
264
265
266 config TARGET_TAURUS
267         bool "Support taurus"
268         select AT91SAM9G20
269         select DM
270         select DM_ETH
271         select DM_GPIO
272         select DM_SERIAL
273         select DM_SPI
274         select SPI
275         select SUPPORT_SPL
276         imply CMD_DM
277
278 config TARGET_SMARTWEB
279         bool "Support smartweb"
280         select AT91SAM9260
281         select DM
282         select DM_ETH
283         select DM_GPIO
284         select DM_SERIAL
285         select SUPPORT_SPL
286         imply CMD_DM
287
288 config TARGET_VINCO
289         bool "Support VINCO"
290         select DM
291         select DM_SPI
292         select SAMA5D4
293         select SPI
294         select SUPPORT_SPL
295         imply CMD_DM
296
297 endchoice
298
299 config ATMEL_SFR
300         bool
301
302 config SYS_SOC
303         default "at91"
304
305 source "board/atmel/at91sam9260ek/Kconfig"
306 source "board/atmel/at91sam9261ek/Kconfig"
307 source "board/atmel/at91sam9263ek/Kconfig"
308 source "board/atmel/at91sam9m10g45ek/Kconfig"
309 source "board/atmel/at91sam9n12ek/Kconfig"
310 source "board/atmel/at91sam9rlek/Kconfig"
311 source "board/atmel/at91sam9x5ek/Kconfig"
312 source "board/atmel/sam9x60ek/Kconfig"
313 source "board/atmel/sama7g5ek/Kconfig"
314 source "board/atmel/sama5d2_ptc_ek/Kconfig"
315 source "board/atmel/sama5d2_xplained/Kconfig"
316 source "board/atmel/sama5d27_som1_ek/Kconfig"
317 source "board/atmel/sama5d27_wlsom1_ek/Kconfig"
318 source "board/atmel/sama5d2_icp/Kconfig"
319 source "board/atmel/sama5d3_xplained/Kconfig"
320 source "board/atmel/sama5d3xek/Kconfig"
321 source "board/atmel/sama5d4_xplained/Kconfig"
322 source "board/atmel/sama5d4ek/Kconfig"
323 source "board/bluewater/gurnard/Kconfig"
324 source "board/bluewater/snapper9260/Kconfig"
325 source "board/calao/usb_a9263/Kconfig"
326 source "board/egnite/ethernut5/Kconfig"
327 source "board/esd/meesc/Kconfig"
328 source "board/gardena/smart-gateway-at91sam/Kconfig"
329 source "board/l+g/vinco/Kconfig"
330 source "board/ronetix/pm9261/Kconfig"
331 source "board/ronetix/pm9263/Kconfig"
332 source "board/ronetix/pm9g45/Kconfig"
333 source "board/siemens/corvus/Kconfig"
334 source "board/siemens/taurus/Kconfig"
335 source "board/siemens/smartweb/Kconfig"
336
337 config SPL_LDSCRIPT
338         default "arch/arm/mach-at91/arm926ejs/u-boot-spl.lds" if CPU_ARM926EJS
339         default "arch/arm/mach-at91/armv7/u-boot-spl.lds" if CPU_V7A
340
341 endif