blob: 1a6ed211e580e2ea7b0051e8bac1441ccad01dad [file] [log] [blame]
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +09001if ARCH_AT91
2
Wenyou Yangb4ed09f2017-09-14 11:07:40 +08003config AT91FAMILY
4 def_bool y
5
Wenyou Yangc09ca6a2017-09-14 11:07:41 +08006config 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_V7
49
50config SAMA5D3
51 bool
52 select CPU_V7
53
54config SAMA5D4
55 bool
56 select CPU_V7
57
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090058choice
59 prompt "Atmel AT91 board select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050060 optional
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090061
62config TARGET_AT91RM9200EK
63 bool "Atmel AT91RM9200 evaluation kit"
64 select CPU_ARM920T
65
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090066config TARGET_AT91SAM9260EK
67 bool "Atmel at91sam9260 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080068 select AT91SAM9260
Simon Glass7a99a872017-01-23 13:31:20 -070069 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090070
71config TARGET_ETHERNUT5
72 bool "Ethernut5 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080073 select AT91SAM9XE
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090074
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090075config TARGET_SNAPPER9260
76 bool "Support snapper9260"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080077 select AT91SAM9260
Masahiro Yamada4bb8f822015-03-31 12:47:57 +090078 select DM
79 select DM_SERIAL
80 select DM_GPIO
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090081
Andre Renaud2369c9c2016-05-05 07:28:22 -060082config TARGET_GURNARD
83 bool "Support gurnard"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080084 select AT91SAM9G45
Tom Rini22d567e2017-01-22 19:43:11 -050085 select BOARD_LATE_INIT
Andre Renaud2369c9c2016-05-05 07:28:22 -060086 select DM
87 select DM_SERIAL
Jagan Tekib1c262d2018-03-14 18:46:32 +053088 select DM_SPI
Andre Renaud2369c9c2016-05-05 07:28:22 -060089 select DM_GPIO
90 select DM_ETH
Adam Ford4e96ff82018-04-15 13:51:26 -040091 select SPI
Andre Renaud2369c9c2016-05-05 07:28:22 -060092
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090093config TARGET_AT91SAM9261EK
94 bool "Atmel at91sam9261 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080095 select AT91SAM9261
Wenyou.Yang@microchip.comb59fe682017-07-21 13:28:40 +080096 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090097
98config TARGET_PM9261
99 bool "Ronetix pm9261 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800100 select AT91SAM9261
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900101
102config TARGET_AT91SAM9263EK
103 bool "Atmel at91sam9263 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800104 select AT91SAM9263
Simon Glass7a99a872017-01-23 13:31:20 -0700105 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900106
107config TARGET_USB_A9263
108 bool "Caloa USB A9260 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800109 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900110
111config TARGET_PM9263
112 bool "Ronetix pm9263 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800113 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900114
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900115config TARGET_AT91SAM9M10G45EK
116 bool "Atmel AT91SAM9M10G45-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800117 select AT91SAM9M10G45
Bo Shenc56e9f42015-03-27 14:23:34 +0800118 select SUPPORT_SPL
Simon Glass7a99a872017-01-23 13:31:20 -0700119 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900120
121config TARGET_PM9G45
122 bool "Ronetix pm9g45 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800123 select AT91SAM9G45
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900124
Erik van Luijk29365df2015-08-17 12:47:34 +0200125config TARGET_PICOSAM9G45
126 bool "Mini-box picosam9g45 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800127 select AT91SAM9M10G45
Erik van Luijk29365df2015-08-17 12:47:34 +0200128 select SUPPORT_SPL
129
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900130config TARGET_AT91SAM9N12EK
131 bool "Atmel AT91SAM9N12-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800132 select AT91SAM9N12
Bo Shen9c709392015-03-27 14:23:36 +0800133 select SUPPORT_SPL
Simon Glass7a99a872017-01-23 13:31:20 -0700134 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900135
136config TARGET_AT91SAM9RLEK
137 bool "Atmel at91sam9rl reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800138 select AT91SAM9RL
Simon Glass7a99a872017-01-23 13:31:20 -0700139 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900140
141config TARGET_AT91SAM9X5EK
142 bool "Atmel AT91SAM9X5-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800143 select AT91SAM9X5
Bo Shen9a3b1fe2015-03-27 14:23:35 +0800144 select SUPPORT_SPL
Simon Glass7a99a872017-01-23 13:31:20 -0700145 select BOARD_EARLY_INIT_F
Wenyou Yangaa023532017-09-18 15:26:01 +0800146 select BOARD_LATE_INIT
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900147
Ludovic Desroches1240d882017-11-17 14:57:12 +0800148config TARGET_SAMA5D2_PTC_EK
149 bool "SAMA5D2 PTC EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800150 select SAMA5D2
Simon Glass7a99a872017-01-23 13:31:20 -0700151 select BOARD_EARLY_INIT_F
Wenyou Yangb90c7cb2016-02-26 17:20:26 +0800152
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800153config TARGET_SAMA5D2_XPLAINED
154 bool "SAMA5D2 Xplained board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800155 select SAMA5D2
Wenyou Yang3acd9cc2016-02-01 18:18:21 +0800156 select SUPPORT_SPL
Simon Glass7a99a872017-01-23 13:31:20 -0700157 select BOARD_EARLY_INIT_F
Wenyou Yang3ec18a62017-09-18 15:25:57 +0800158 select BOARD_LATE_INIT
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800159
Wenyou Yangeebb0732017-09-13 14:58:54 +0800160config 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
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900173config TARGET_SAMA5D3_XPLAINED
174 bool "SAMA5D3 Xplained board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800175 select SAMA5D3
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900176 select SUPPORT_SPL
Simon Glass7a99a872017-01-23 13:31:20 -0700177 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900178
179config TARGET_SAMA5D3XEK
180 bool "SAMA5D3X-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800181 select SAMA5D3
Tom Rini22d567e2017-01-22 19:43:11 -0500182 select BOARD_LATE_INIT
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900183 select SUPPORT_SPL
Simon Glass7a99a872017-01-23 13:31:20 -0700184 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900185
186config TARGET_SAMA5D4_XPLAINED
187 bool "SAMA5D4 Xplained board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800188 select SAMA5D4
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900189 select SUPPORT_SPL
Simon Glass7a99a872017-01-23 13:31:20 -0700190 select BOARD_EARLY_INIT_F
Wenyou Yang426691e2017-09-18 15:26:00 +0800191 select BOARD_LATE_INIT
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900192
193config TARGET_SAMA5D4EK
194 bool "SAMA5D4 Evaluation Kit"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800195 select SAMA5D4
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900196 select SUPPORT_SPL
Simon Glass7a99a872017-01-23 13:31:20 -0700197 select BOARD_EARLY_INIT_F
Wenyou Yang57ba4902017-09-18 15:25:59 +0800198 select BOARD_LATE_INIT
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900199
Marek Vasut22cc6f52016-02-11 14:13:38 +0100200config TARGET_MA5D4EVK
Marek Vasut6efde712017-05-02 20:27:40 +0200201 bool "Aries MA5D4EVK Evaluation Kit"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800202 select SAMA5D4
Marek Vasut22cc6f52016-02-11 14:13:38 +0100203 select SUPPORT_SPL
Jagan Teki8ff79662018-03-14 18:46:38 +0530204 select DM
Jagan Teki9392b8f2018-03-14 18:46:40 +0530205 select DM_SPI
Adam Ford4e96ff82018-04-15 13:51:26 -0400206 select SPI
Marek Vasut22cc6f52016-02-11 14:13:38 +0100207
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900208config TARGET_MEESC
209 bool "Support meesc"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800210 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900211
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900212config TARGET_CORVUS
213 bool "Support corvus"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800214 select AT91SAM9M10G45
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900215 select SUPPORT_SPL
Heiko Schocher914aff12016-05-25 07:23:45 +0200216 select DM
217 select DM_SERIAL
218 select DM_GPIO
219 select DM_ETH
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900220
221config TARGET_TAURUS
222 bool "Support taurus"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800223 select AT91SAM9G20
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900224 select SUPPORT_SPL
Heiko Schocher649d8102016-05-25 07:23:48 +0200225 select DM
226 select DM_SERIAL
Jagan Tekid8ee7e62018-03-14 18:46:34 +0530227 select DM_SPI
Heiko Schocher649d8102016-05-25 07:23:48 +0200228 select DM_GPIO
229 select DM_ETH
Adam Ford4e96ff82018-04-15 13:51:26 -0400230 select SPI
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900231
Heiko Schocher44a93442015-06-29 09:10:48 +0200232config TARGET_SMARTWEB
233 bool "Support smartweb"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800234 select AT91SAM9260
Heiko Schocher44a93442015-06-29 09:10:48 +0200235 select SUPPORT_SPL
Heiko Schocherd1b8ea82016-05-25 07:23:47 +0200236 select DM
237 select DM_SERIAL
238 select DM_GPIO
239 select DM_ETH
Heiko Schocher44a93442015-06-29 09:10:48 +0200240
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100241config TARGET_VINCO
242 bool "Support VINCO"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800243 select SAMA5D4
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100244 select SUPPORT_SPL
Jagan Tekib5ba07c2018-03-14 18:46:35 +0530245 select DM
Jagan Tekic022b3c2018-03-14 18:46:37 +0530246 select DM_SPI
Adam Ford4e96ff82018-04-15 13:51:26 -0400247 select SPI
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100248
Ben Whitten7b8f9af2017-11-23 13:47:47 +0000249config TARGET_WB45N
250 bool "Support Laird WB45N"
251 select CPU_ARM926EJS
252 select SUPPORT_SPL
253
Ben Whitten44b7fc82017-11-23 13:47:48 +0000254config 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
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900261endchoice
262
263config SYS_SOC
264 default "at91"
265
Marek Vasut6efde712017-05-02 20:27:40 +0200266source "board/aries/ma5d4evk/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900267source "board/atmel/at91rm9200ek/Kconfig"
268source "board/atmel/at91sam9260ek/Kconfig"
269source "board/atmel/at91sam9261ek/Kconfig"
270source "board/atmel/at91sam9263ek/Kconfig"
271source "board/atmel/at91sam9m10g45ek/Kconfig"
272source "board/atmel/at91sam9n12ek/Kconfig"
273source "board/atmel/at91sam9rlek/Kconfig"
274source "board/atmel/at91sam9x5ek/Kconfig"
Ludovic Desroches1240d882017-11-17 14:57:12 +0800275source "board/atmel/sama5d2_ptc_ek/Kconfig"
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800276source "board/atmel/sama5d2_xplained/Kconfig"
Wenyou Yangeebb0732017-09-13 14:58:54 +0800277source "board/atmel/sama5d27_som1_ek/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900278source "board/atmel/sama5d3_xplained/Kconfig"
279source "board/atmel/sama5d3xek/Kconfig"
280source "board/atmel/sama5d4_xplained/Kconfig"
281source "board/atmel/sama5d4ek/Kconfig"
Andre Renaud2369c9c2016-05-05 07:28:22 -0600282source "board/bluewater/gurnard/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900283source "board/bluewater/snapper9260/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900284source "board/calao/usb_a9263/Kconfig"
285source "board/egnite/ethernut5/Kconfig"
286source "board/esd/meesc/Kconfig"
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100287source "board/l+g/vinco/Kconfig"
Erik van Luijk29365df2015-08-17 12:47:34 +0200288source "board/mini-box/picosam9g45/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900289source "board/ronetix/pm9261/Kconfig"
290source "board/ronetix/pm9263/Kconfig"
291source "board/ronetix/pm9g45/Kconfig"
292source "board/siemens/corvus/Kconfig"
293source "board/siemens/taurus/Kconfig"
Heiko Schocher44a93442015-06-29 09:10:48 +0200294source "board/siemens/smartweb/Kconfig"
Ben Whitten7b8f9af2017-11-23 13:47:47 +0000295source "board/laird/wb45n/Kconfig"
Ben Whitten44b7fc82017-11-23 13:47:48 +0000296source "board/laird/wb50n/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900297
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200298config 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
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900302endif