blob: 3784cbb70b9922f113e87c62e30bf75d0713c14f [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
Lokesh Vutla81b1a672018-04-26 18:21:26 +053048 select CPU_V7A
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080049
50config SAMA5D3
51 bool
Lokesh Vutla81b1a672018-04-26 18:21:26 +053052 select CPU_V7A
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080053
54config SAMA5D4
55 bool
Lokesh Vutla81b1a672018-04-26 18:21:26 +053056 select CPU_V7A
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080057
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
Masahiro Yamada4bb8f822015-03-31 12:47:57 +090079 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +020080 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +020081 imply CMD_DM
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090082
Andre Renaud2369c9c2016-05-05 07:28:22 -060083config TARGET_GURNARD
84 bool "Support gurnard"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080085 select AT91SAM9G45
Tom Rini22d567e2017-01-22 19:43:11 -050086 select BOARD_LATE_INIT
Andre Renaud2369c9c2016-05-05 07:28:22 -060087 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +020088 select DM_ETH
89 select DM_GPIO
Andre Renaud2369c9c2016-05-05 07:28:22 -060090 select DM_SERIAL
Jagan Tekib1c262d2018-03-14 18:46:32 +053091 select DM_SPI
Adam Ford4e96ff82018-04-15 13:51:26 -040092 select SPI
Michal Simek2e7c8192018-07-23 15:55:14 +020093 imply CMD_DM
Andre Renaud2369c9c2016-05-05 07:28:22 -060094
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090095config TARGET_AT91SAM9261EK
96 bool "Atmel at91sam9261 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080097 select AT91SAM9261
Wenyou.Yang@microchip.comb59fe682017-07-21 13:28:40 +080098 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090099
100config TARGET_PM9261
101 bool "Ronetix pm9261 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800102 select AT91SAM9261
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900103
104config TARGET_AT91SAM9263EK
105 bool "Atmel at91sam9263 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800106 select AT91SAM9263
Simon Glass7a99a872017-01-23 13:31:20 -0700107 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900108
109config TARGET_USB_A9263
110 bool "Caloa USB A9260 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800111 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900112
113config TARGET_PM9263
114 bool "Ronetix pm9263 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800115 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900116
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900117config TARGET_AT91SAM9M10G45EK
118 bool "Atmel AT91SAM9M10G45-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800119 select AT91SAM9M10G45
Simon Glass7a99a872017-01-23 13:31:20 -0700120 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200121 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900122
123config TARGET_PM9G45
124 bool "Ronetix pm9g45 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800125 select AT91SAM9G45
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900126
Erik van Luijk29365df2015-08-17 12:47:34 +0200127config TARGET_PICOSAM9G45
128 bool "Mini-box picosam9g45 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800129 select AT91SAM9M10G45
Erik van Luijk29365df2015-08-17 12:47:34 +0200130 select SUPPORT_SPL
131
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900132config TARGET_AT91SAM9N12EK
133 bool "Atmel AT91SAM9N12-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800134 select AT91SAM9N12
Simon Glass7a99a872017-01-23 13:31:20 -0700135 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200136 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900137
138config TARGET_AT91SAM9RLEK
139 bool "Atmel at91sam9rl reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800140 select AT91SAM9RL
Simon Glass7a99a872017-01-23 13:31:20 -0700141 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900142
143config TARGET_AT91SAM9X5EK
144 bool "Atmel AT91SAM9X5-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800145 select AT91SAM9X5
Simon Glass7a99a872017-01-23 13:31:20 -0700146 select BOARD_EARLY_INIT_F
Wenyou Yangaa023532017-09-18 15:26:01 +0800147 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200148 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900149
Ludovic Desroches1240d882017-11-17 14:57:12 +0800150config TARGET_SAMA5D2_PTC_EK
151 bool "SAMA5D2 PTC EK board"
Simon Glass7a99a872017-01-23 13:31:20 -0700152 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200153 select SAMA5D2
Wenyou Yangb90c7cb2016-02-26 17:20:26 +0800154
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800155config TARGET_SAMA5D2_XPLAINED
156 bool "SAMA5D2 Xplained board"
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
Michal Simek84f3dec2018-07-23 15:55:13 +0200159 select SAMA5D2
160 select SUPPORT_SPL
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800161
Wenyou Yangeebb0732017-09-13 14:58:54 +0800162config TARGET_SAMA5D27_SOM1_EK
163 bool "SAMA5D27 SOM1 EK board"
Wenyou Yangeebb0732017-09-13 14:58:54 +0800164 select BOARD_EARLY_INIT_F
165 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200166 select CPU_V7A
167 select SUPPORT_SPL
Wenyou Yangeebb0732017-09-13 14:58:54 +0800168 help
169 The SAMA5D27 SOM1 embeds SAMA5D2 SiP(System in Package),
170 a 64Mbit QSPI flash, KSZ8081 Phy and a Mac-address EEPROM
171 24AA02E48. The SAMA5D2 SiP integrates the ARM Cortex-A5
172 processor-based SAMA5D2 MPU with up to 1 Gbit DDR2-SDRAM
173 in a single package.
174
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900175config TARGET_SAMA5D3_XPLAINED
176 bool "SAMA5D3 Xplained board"
Michal Simek84f3dec2018-07-23 15:55:13 +0200177 select BOARD_EARLY_INIT_F
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800178 select SAMA5D3
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900179 select SUPPORT_SPL
Eugen Hristevbe01f772018-09-18 10:35:44 +0300180 select BOARD_LATE_INIT
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900181
182config TARGET_SAMA5D3XEK
183 bool "SAMA5D3X-EK board"
Michal Simek84f3dec2018-07-23 15:55:13 +0200184 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -0500185 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200186 select SAMA5D3
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900187 select SUPPORT_SPL
188
189config TARGET_SAMA5D4_XPLAINED
190 bool "SAMA5D4 Xplained board"
Simon Glass7a99a872017-01-23 13:31:20 -0700191 select BOARD_EARLY_INIT_F
Wenyou Yang426691e2017-09-18 15:26:00 +0800192 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200193 select SAMA5D4
194 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900195
196config TARGET_SAMA5D4EK
197 bool "SAMA5D4 Evaluation Kit"
Simon Glass7a99a872017-01-23 13:31:20 -0700198 select BOARD_EARLY_INIT_F
Wenyou Yang57ba4902017-09-18 15:25:59 +0800199 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200200 select SAMA5D4
201 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900202
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900203config TARGET_MEESC
204 bool "Support meesc"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800205 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900206
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900207config TARGET_CORVUS
208 bool "Support corvus"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800209 select AT91SAM9M10G45
Heiko Schocher914aff12016-05-25 07:23:45 +0200210 select DM
Heiko Schocher914aff12016-05-25 07:23:45 +0200211 select DM_ETH
Michal Simek84f3dec2018-07-23 15:55:13 +0200212 select DM_GPIO
213 select DM_SERIAL
214 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200215 imply CMD_DM
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900216
217config TARGET_TAURUS
218 bool "Support taurus"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800219 select AT91SAM9G20
Heiko Schocher649d8102016-05-25 07:23:48 +0200220 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +0200221 select DM_ETH
222 select DM_GPIO
Heiko Schocher649d8102016-05-25 07:23:48 +0200223 select DM_SERIAL
Jagan Tekid8ee7e62018-03-14 18:46:34 +0530224 select DM_SPI
Adam Ford4e96ff82018-04-15 13:51:26 -0400225 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200226 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200227 imply CMD_DM
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900228
Heiko Schocher44a93442015-06-29 09:10:48 +0200229config TARGET_SMARTWEB
230 bool "Support smartweb"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800231 select AT91SAM9260
Heiko Schocherd1b8ea82016-05-25 07:23:47 +0200232 select DM
Heiko Schocherd1b8ea82016-05-25 07:23:47 +0200233 select DM_ETH
Michal Simek84f3dec2018-07-23 15:55:13 +0200234 select DM_GPIO
235 select DM_SERIAL
236 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200237 imply CMD_DM
Heiko Schocher44a93442015-06-29 09:10:48 +0200238
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100239config TARGET_VINCO
240 bool "Support VINCO"
Jagan Tekib5ba07c2018-03-14 18:46:35 +0530241 select DM
Jagan Tekic022b3c2018-03-14 18:46:37 +0530242 select DM_SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200243 select SAMA5D4
Adam Ford4e96ff82018-04-15 13:51:26 -0400244 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200245 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200246 imply CMD_DM
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100247
Ben Whitten7b8f9af2017-11-23 13:47:47 +0000248config TARGET_WB45N
249 bool "Support Laird WB45N"
250 select CPU_ARM926EJS
251 select SUPPORT_SPL
252
Ben Whitten44b7fc82017-11-23 13:47:48 +0000253config TARGET_WB50N
254 bool "Support Laird WB50N"
Michal Simek84f3dec2018-07-23 15:55:13 +0200255 select BOARD_EARLY_INIT_F
Ben Whitten44b7fc82017-11-23 13:47:48 +0000256 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530257 select CPU_V7A
Ben Whitten44b7fc82017-11-23 13:47:48 +0000258 select SUPPORT_SPL
Ben Whitten44b7fc82017-11-23 13:47:48 +0000259
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900260endchoice
261
262config SYS_SOC
263 default "at91"
264
265source "board/atmel/at91rm9200ek/Kconfig"
266source "board/atmel/at91sam9260ek/Kconfig"
267source "board/atmel/at91sam9261ek/Kconfig"
268source "board/atmel/at91sam9263ek/Kconfig"
269source "board/atmel/at91sam9m10g45ek/Kconfig"
270source "board/atmel/at91sam9n12ek/Kconfig"
271source "board/atmel/at91sam9rlek/Kconfig"
272source "board/atmel/at91sam9x5ek/Kconfig"
Ludovic Desroches1240d882017-11-17 14:57:12 +0800273source "board/atmel/sama5d2_ptc_ek/Kconfig"
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800274source "board/atmel/sama5d2_xplained/Kconfig"
Wenyou Yangeebb0732017-09-13 14:58:54 +0800275source "board/atmel/sama5d27_som1_ek/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900276source "board/atmel/sama5d3_xplained/Kconfig"
277source "board/atmel/sama5d3xek/Kconfig"
278source "board/atmel/sama5d4_xplained/Kconfig"
279source "board/atmel/sama5d4ek/Kconfig"
Andre Renaud2369c9c2016-05-05 07:28:22 -0600280source "board/bluewater/gurnard/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900281source "board/bluewater/snapper9260/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900282source "board/calao/usb_a9263/Kconfig"
283source "board/egnite/ethernut5/Kconfig"
284source "board/esd/meesc/Kconfig"
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100285source "board/l+g/vinco/Kconfig"
Erik van Luijk29365df2015-08-17 12:47:34 +0200286source "board/mini-box/picosam9g45/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900287source "board/ronetix/pm9261/Kconfig"
288source "board/ronetix/pm9263/Kconfig"
289source "board/ronetix/pm9g45/Kconfig"
290source "board/siemens/corvus/Kconfig"
291source "board/siemens/taurus/Kconfig"
Heiko Schocher44a93442015-06-29 09:10:48 +0200292source "board/siemens/smartweb/Kconfig"
Ben Whitten7b8f9af2017-11-23 13:47:47 +0000293source "board/laird/wb45n/Kconfig"
Ben Whitten44b7fc82017-11-23 13:47:48 +0000294source "board/laird/wb50n/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900295
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200296config SPL_LDSCRIPT
297 default "arch/arm/mach-at91/arm926ejs/u-boot-spl.lds" if CPU_ARM926EJS
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530298 default "arch/arm/mach-at91/armv7/u-boot-spl.lds" if CPU_V7A
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200299
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900300endif