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