Merge git://git.denx.de/u-boot-dm
[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_SAMA5D2_PTC_EK
151         bool "SAMA5D2 PTC EK board"
152         select BOARD_EARLY_INIT_F
153         select SAMA5D2
154         select BOARD_LATE_INIT
155
156 config 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
163 config 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
176 config 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
183 config 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
190 config 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
197 config 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
204 config TARGET_MEESC
205         bool "Support meesc"
206         select AT91SAM9263
207
208 config 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
218 config 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
230 config 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
240 config 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
249 config TARGET_WB45N
250         bool "Support Laird WB45N"
251         select CPU_ARM926EJS
252         select SUPPORT_SPL
253
254 config 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
261 endchoice
262
263 config SYS_SOC
264         default "at91"
265
266 source "board/atmel/at91rm9200ek/Kconfig"
267 source "board/atmel/at91sam9260ek/Kconfig"
268 source "board/atmel/at91sam9261ek/Kconfig"
269 source "board/atmel/at91sam9263ek/Kconfig"
270 source "board/atmel/at91sam9m10g45ek/Kconfig"
271 source "board/atmel/at91sam9n12ek/Kconfig"
272 source "board/atmel/at91sam9rlek/Kconfig"
273 source "board/atmel/at91sam9x5ek/Kconfig"
274 source "board/atmel/sama5d2_ptc_ek/Kconfig"
275 source "board/atmel/sama5d2_xplained/Kconfig"
276 source "board/atmel/sama5d27_som1_ek/Kconfig"
277 source "board/atmel/sama5d3_xplained/Kconfig"
278 source "board/atmel/sama5d3xek/Kconfig"
279 source "board/atmel/sama5d4_xplained/Kconfig"
280 source "board/atmel/sama5d4ek/Kconfig"
281 source "board/bluewater/gurnard/Kconfig"
282 source "board/bluewater/snapper9260/Kconfig"
283 source "board/calao/usb_a9263/Kconfig"
284 source "board/egnite/ethernut5/Kconfig"
285 source "board/esd/meesc/Kconfig"
286 source "board/l+g/vinco/Kconfig"
287 source "board/mini-box/picosam9g45/Kconfig"
288 source "board/ronetix/pm9261/Kconfig"
289 source "board/ronetix/pm9263/Kconfig"
290 source "board/ronetix/pm9g45/Kconfig"
291 source "board/siemens/corvus/Kconfig"
292 source "board/siemens/taurus/Kconfig"
293 source "board/siemens/smartweb/Kconfig"
294 source "board/laird/wb45n/Kconfig"
295 source "board/laird/wb50n/Kconfig"
296
297 config 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
301 endif