Merge git://git.denx.de/u-boot-sunxi
[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_V7
49
50 config SAMA5D3
51         bool
52         select CPU_V7
53
54 config SAMA5D4
55         bool
56         select CPU_V7
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_SERIAL
80         select DM_GPIO
81
82 config TARGET_GURNARD
83         bool "Support gurnard"
84         select AT91SAM9G45
85         select BOARD_LATE_INIT
86         select DM
87         select DM_SERIAL
88         select DM_SPI
89         select DM_GPIO
90         select DM_ETH
91         select SPI
92
93 config TARGET_AT91SAM9261EK
94         bool "Atmel at91sam9261 reference board"
95         select AT91SAM9261
96         select BOARD_EARLY_INIT_F
97
98 config TARGET_PM9261
99         bool "Ronetix pm9261 board"
100         select AT91SAM9261
101
102 config TARGET_AT91SAM9263EK
103         bool "Atmel at91sam9263 reference board"
104         select AT91SAM9263
105         select BOARD_EARLY_INIT_F
106
107 config TARGET_USB_A9263
108         bool "Caloa USB A9260 board"
109         select AT91SAM9263
110
111 config TARGET_PM9263
112         bool "Ronetix pm9263 board"
113         select AT91SAM9263
114
115 config TARGET_AT91SAM9M10G45EK
116         bool "Atmel AT91SAM9M10G45-EK board"
117         select AT91SAM9M10G45
118         select SUPPORT_SPL
119         select BOARD_EARLY_INIT_F
120
121 config TARGET_PM9G45
122         bool "Ronetix pm9g45 board"
123         select AT91SAM9G45
124
125 config TARGET_PICOSAM9G45
126         bool "Mini-box picosam9g45 board"
127         select AT91SAM9M10G45
128         select SUPPORT_SPL
129
130 config TARGET_AT91SAM9N12EK
131         bool "Atmel AT91SAM9N12-EK board"
132         select AT91SAM9N12
133         select SUPPORT_SPL
134         select BOARD_EARLY_INIT_F
135
136 config TARGET_AT91SAM9RLEK
137         bool "Atmel at91sam9rl reference board"
138         select AT91SAM9RL
139         select BOARD_EARLY_INIT_F
140
141 config TARGET_AT91SAM9X5EK
142         bool "Atmel AT91SAM9X5-EK board"
143         select AT91SAM9X5
144         select SUPPORT_SPL
145         select BOARD_EARLY_INIT_F
146         select BOARD_LATE_INIT
147
148 config TARGET_SAMA5D2_PTC_EK
149         bool "SAMA5D2 PTC EK board"
150         select SAMA5D2
151         select BOARD_EARLY_INIT_F
152
153 config TARGET_SAMA5D2_XPLAINED
154         bool "SAMA5D2 Xplained board"
155         select SAMA5D2
156         select SUPPORT_SPL
157         select BOARD_EARLY_INIT_F
158         select BOARD_LATE_INIT
159
160 config TARGET_SAMA5D27_SOM1_EK
161         bool "SAMA5D27 SOM1 EK board"
162         select CPU_V7
163         select SUPPORT_SPL
164         select BOARD_EARLY_INIT_F
165         select BOARD_LATE_INIT
166         help
167           The SAMA5D27 SOM1 embeds SAMA5D2 SiP(System in Package),
168           a 64Mbit QSPI flash, KSZ8081 Phy and a Mac-address EEPROM
169           24AA02E48. The SAMA5D2 SiP integrates the ARM Cortex-A5
170           processor-based SAMA5D2 MPU with up to 1 Gbit DDR2-SDRAM
171           in a single package.
172
173 config TARGET_SAMA5D3_XPLAINED
174         bool "SAMA5D3 Xplained board"
175         select SAMA5D3
176         select SUPPORT_SPL
177         select BOARD_EARLY_INIT_F
178
179 config TARGET_SAMA5D3XEK
180         bool "SAMA5D3X-EK board"
181         select SAMA5D3
182         select BOARD_LATE_INIT
183         select SUPPORT_SPL
184         select BOARD_EARLY_INIT_F
185
186 config TARGET_SAMA5D4_XPLAINED
187         bool "SAMA5D4 Xplained board"
188         select SAMA5D4
189         select SUPPORT_SPL
190         select BOARD_EARLY_INIT_F
191         select BOARD_LATE_INIT
192
193 config TARGET_SAMA5D4EK
194         bool "SAMA5D4 Evaluation Kit"
195         select SAMA5D4
196         select SUPPORT_SPL
197         select BOARD_EARLY_INIT_F
198         select BOARD_LATE_INIT
199
200 config TARGET_MA5D4EVK
201         bool "Aries MA5D4EVK Evaluation Kit"
202         select SAMA5D4
203         select SUPPORT_SPL
204         select DM
205         select DM_SPI
206         select SPI
207
208 config TARGET_MEESC
209         bool "Support meesc"
210         select AT91SAM9263
211
212 config TARGET_CORVUS
213         bool "Support corvus"
214         select AT91SAM9M10G45
215         select SUPPORT_SPL
216         select DM
217         select DM_SERIAL
218         select DM_GPIO
219         select DM_ETH
220
221 config TARGET_TAURUS
222         bool "Support taurus"
223         select AT91SAM9G20
224         select SUPPORT_SPL
225         select DM
226         select DM_SERIAL
227         select DM_SPI
228         select DM_GPIO
229         select DM_ETH
230         select SPI
231
232 config TARGET_SMARTWEB
233         bool "Support smartweb"
234         select AT91SAM9260
235         select SUPPORT_SPL
236         select DM
237         select DM_SERIAL
238         select DM_GPIO
239         select DM_ETH
240
241 config TARGET_VINCO
242         bool "Support VINCO"
243         select SAMA5D4
244         select SUPPORT_SPL
245         select DM
246         select DM_SPI
247         select SPI
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_LATE_INIT
257         select CPU_V7
258         select SUPPORT_SPL
259         select BOARD_EARLY_INIT_F
260
261 endchoice
262
263 config SYS_SOC
264         default "at91"
265
266 source "board/aries/ma5d4evk/Kconfig"
267 source "board/atmel/at91rm9200ek/Kconfig"
268 source "board/atmel/at91sam9260ek/Kconfig"
269 source "board/atmel/at91sam9261ek/Kconfig"
270 source "board/atmel/at91sam9263ek/Kconfig"
271 source "board/atmel/at91sam9m10g45ek/Kconfig"
272 source "board/atmel/at91sam9n12ek/Kconfig"
273 source "board/atmel/at91sam9rlek/Kconfig"
274 source "board/atmel/at91sam9x5ek/Kconfig"
275 source "board/atmel/sama5d2_ptc_ek/Kconfig"
276 source "board/atmel/sama5d2_xplained/Kconfig"
277 source "board/atmel/sama5d27_som1_ek/Kconfig"
278 source "board/atmel/sama5d3_xplained/Kconfig"
279 source "board/atmel/sama5d3xek/Kconfig"
280 source "board/atmel/sama5d4_xplained/Kconfig"
281 source "board/atmel/sama5d4ek/Kconfig"
282 source "board/bluewater/gurnard/Kconfig"
283 source "board/bluewater/snapper9260/Kconfig"
284 source "board/calao/usb_a9263/Kconfig"
285 source "board/egnite/ethernut5/Kconfig"
286 source "board/esd/meesc/Kconfig"
287 source "board/l+g/vinco/Kconfig"
288 source "board/mini-box/picosam9g45/Kconfig"
289 source "board/ronetix/pm9261/Kconfig"
290 source "board/ronetix/pm9263/Kconfig"
291 source "board/ronetix/pm9g45/Kconfig"
292 source "board/siemens/corvus/Kconfig"
293 source "board/siemens/taurus/Kconfig"
294 source "board/siemens/smartweb/Kconfig"
295 source "board/laird/wb45n/Kconfig"
296 source "board/laird/wb50n/Kconfig"
297
298 config SPL_LDSCRIPT
299         default "arch/arm/mach-at91/arm926ejs/u-boot-spl.lds" if CPU_ARM926EJS
300         default "arch/arm/mach-at91/armv7/u-boot-spl.lds" if CPU_V7
301
302 endif