blob: 7e85b69679d2b4eb3bdcd005776042300ae5a3fc [file] [log] [blame]
Masahiro Yamada4614b892015-02-20 17:04:01 +09001if ARCH_AT91
2
Wenyou Yang65535812017-09-14 11:07:40 +08003config AT91FAMILY
4 def_bool y
5
Wenyou Yang22693372017-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 Yamada4614b892015-02-20 17:04:01 +090058choice
59 prompt "Atmel AT91 board select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050060 optional
Masahiro Yamada4614b892015-02-20 17:04:01 +090061
62config TARGET_AT91RM9200EK
63 bool "Atmel AT91RM9200 evaluation kit"
64 select CPU_ARM920T
65
Masahiro Yamada4614b892015-02-20 17:04:01 +090066config TARGET_AT91SAM9260EK
67 bool "Atmel at91sam9260 reference board"
Wenyou Yang22693372017-09-14 11:07:41 +080068 select AT91SAM9260
Simon Glassa5d67542017-01-23 13:31:20 -070069 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +090070
71config TARGET_ETHERNUT5
72 bool "Ethernut5 board"
Wenyou Yang22693372017-09-14 11:07:41 +080073 select AT91SAM9XE
Masahiro Yamada4614b892015-02-20 17:04:01 +090074
Masahiro Yamada4614b892015-02-20 17:04:01 +090075config TARGET_SNAPPER9260
76 bool "Support snapper9260"
Wenyou Yang22693372017-09-14 11:07:41 +080077 select AT91SAM9260
Masahiro Yamadaab7b8852015-03-31 12:47:57 +090078 select DM
79 select DM_SERIAL
80 select DM_GPIO
Masahiro Yamada4614b892015-02-20 17:04:01 +090081
Andre Renaud885fc032016-05-05 07:28:22 -060082config TARGET_GURNARD
83 bool "Support gurnard"
Wenyou Yang22693372017-09-14 11:07:41 +080084 select AT91SAM9G45
Tom Rinie5ec4812017-01-22 19:43:11 -050085 select BOARD_LATE_INIT
Andre Renaud885fc032016-05-05 07:28:22 -060086 select DM
87 select DM_SERIAL
88 select DM_GPIO
89 select DM_ETH
90
Masahiro Yamada4614b892015-02-20 17:04:01 +090091config TARGET_AT91SAM9261EK
92 bool "Atmel at91sam9261 reference board"
Wenyou Yang22693372017-09-14 11:07:41 +080093 select AT91SAM9261
Wenyou.Yang@microchip.com324873e2017-07-21 13:28:40 +080094 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +090095
96config TARGET_PM9261
97 bool "Ronetix pm9261 board"
Wenyou Yang22693372017-09-14 11:07:41 +080098 select AT91SAM9261
Masahiro Yamada4614b892015-02-20 17:04:01 +090099
100config TARGET_AT91SAM9263EK
101 bool "Atmel at91sam9263 reference board"
Wenyou Yang22693372017-09-14 11:07:41 +0800102 select AT91SAM9263
Simon Glassa5d67542017-01-23 13:31:20 -0700103 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +0900104
105config TARGET_USB_A9263
106 bool "Caloa USB A9260 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800107 select AT91SAM9263
Masahiro Yamada4614b892015-02-20 17:04:01 +0900108
109config TARGET_PM9263
110 bool "Ronetix pm9263 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800111 select AT91SAM9263
Masahiro Yamada4614b892015-02-20 17:04:01 +0900112
Masahiro Yamada4614b892015-02-20 17:04:01 +0900113config TARGET_AT91SAM9M10G45EK
114 bool "Atmel AT91SAM9M10G45-EK board"
Wenyou Yang22693372017-09-14 11:07:41 +0800115 select AT91SAM9M10G45
Bo Shen41d41a92015-03-27 14:23:34 +0800116 select SUPPORT_SPL
Simon Glassa5d67542017-01-23 13:31:20 -0700117 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +0900118
119config TARGET_PM9G45
120 bool "Ronetix pm9g45 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800121 select AT91SAM9G45
Masahiro Yamada4614b892015-02-20 17:04:01 +0900122
Erik van Luijkbfc37f32015-08-17 12:47:34 +0200123config TARGET_PICOSAM9G45
124 bool "Mini-box picosam9g45 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800125 select AT91SAM9M10G45
Erik van Luijkbfc37f32015-08-17 12:47:34 +0200126 select SUPPORT_SPL
127
Masahiro Yamada4614b892015-02-20 17:04:01 +0900128config TARGET_AT91SAM9N12EK
129 bool "Atmel AT91SAM9N12-EK board"
Wenyou Yang22693372017-09-14 11:07:41 +0800130 select AT91SAM9N12
Bo Shenff255e82015-03-27 14:23:36 +0800131 select SUPPORT_SPL
Simon Glassa5d67542017-01-23 13:31:20 -0700132 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +0900133
134config TARGET_AT91SAM9RLEK
135 bool "Atmel at91sam9rl reference board"
Wenyou Yang22693372017-09-14 11:07:41 +0800136 select AT91SAM9RL
Simon Glassa5d67542017-01-23 13:31:20 -0700137 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +0900138
139config TARGET_AT91SAM9X5EK
140 bool "Atmel AT91SAM9X5-EK board"
Wenyou Yang22693372017-09-14 11:07:41 +0800141 select AT91SAM9X5
Bo Shend85e8912015-03-27 14:23:35 +0800142 select SUPPORT_SPL
Simon Glassa5d67542017-01-23 13:31:20 -0700143 select BOARD_EARLY_INIT_F
Wenyou Yang40f34292017-09-18 15:26:01 +0800144 select BOARD_LATE_INIT
Masahiro Yamada4614b892015-02-20 17:04:01 +0900145
Wenyou Yang9989c152016-02-26 17:20:26 +0800146config TARGET_SAMA5D2_PTC
147 bool "SAMA5D2 PTC board"
Wenyou Yang22693372017-09-14 11:07:41 +0800148 select SAMA5D2
Wenyou Yang9989c152016-02-26 17:20:26 +0800149 select SUPPORT_SPL
Simon Glassa5d67542017-01-23 13:31:20 -0700150 select BOARD_EARLY_INIT_F
Wenyou Yang9989c152016-02-26 17:20:26 +0800151
Wenyou Yang75238f22015-10-30 09:55:52 +0800152config TARGET_SAMA5D2_XPLAINED
153 bool "SAMA5D2 Xplained board"
Wenyou Yang22693372017-09-14 11:07:41 +0800154 select SAMA5D2
Wenyou Yang37dadbc2016-02-01 18:18:21 +0800155 select SUPPORT_SPL
Simon Glassa5d67542017-01-23 13:31:20 -0700156 select BOARD_EARLY_INIT_F
Wenyou Yangd2cd09b2017-09-18 15:25:57 +0800157 select BOARD_LATE_INIT
Wenyou Yang75238f22015-10-30 09:55:52 +0800158
Wenyou Yangce4054b2017-09-13 14:58:54 +0800159config TARGET_SAMA5D27_SOM1_EK
160 bool "SAMA5D27 SOM1 EK board"
161 select CPU_V7
162 select SUPPORT_SPL
163 select BOARD_EARLY_INIT_F
164 select BOARD_LATE_INIT
165 help
166 The SAMA5D27 SOM1 embeds SAMA5D2 SiP(System in Package),
167 a 64Mbit QSPI flash, KSZ8081 Phy and a Mac-address EEPROM
168 24AA02E48. The SAMA5D2 SiP integrates the ARM Cortex-A5
169 processor-based SAMA5D2 MPU with up to 1 Gbit DDR2-SDRAM
170 in a single package.
171
Masahiro Yamada4614b892015-02-20 17:04:01 +0900172config TARGET_SAMA5D3_XPLAINED
173 bool "SAMA5D3 Xplained board"
Wenyou Yang22693372017-09-14 11:07:41 +0800174 select SAMA5D3
Masahiro Yamada4614b892015-02-20 17:04:01 +0900175 select SUPPORT_SPL
Simon Glassa5d67542017-01-23 13:31:20 -0700176 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +0900177
178config TARGET_SAMA5D3XEK
179 bool "SAMA5D3X-EK board"
Wenyou Yang22693372017-09-14 11:07:41 +0800180 select SAMA5D3
Tom Rinie5ec4812017-01-22 19:43:11 -0500181 select BOARD_LATE_INIT
Masahiro Yamada4614b892015-02-20 17:04:01 +0900182 select SUPPORT_SPL
Simon Glassa5d67542017-01-23 13:31:20 -0700183 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +0900184
185config TARGET_SAMA5D4_XPLAINED
186 bool "SAMA5D4 Xplained board"
Wenyou Yang22693372017-09-14 11:07:41 +0800187 select SAMA5D4
Masahiro Yamada4614b892015-02-20 17:04:01 +0900188 select SUPPORT_SPL
Simon Glassa5d67542017-01-23 13:31:20 -0700189 select BOARD_EARLY_INIT_F
Wenyou Yange974b082017-09-18 15:26:00 +0800190 select BOARD_LATE_INIT
Masahiro Yamada4614b892015-02-20 17:04:01 +0900191
192config TARGET_SAMA5D4EK
193 bool "SAMA5D4 Evaluation Kit"
Wenyou Yang22693372017-09-14 11:07:41 +0800194 select SAMA5D4
Masahiro Yamada4614b892015-02-20 17:04:01 +0900195 select SUPPORT_SPL
Simon Glassa5d67542017-01-23 13:31:20 -0700196 select BOARD_EARLY_INIT_F
Wenyou Yang4b0467d2017-09-18 15:25:59 +0800197 select BOARD_LATE_INIT
Masahiro Yamada4614b892015-02-20 17:04:01 +0900198
Marek Vasutc21c28b2016-02-11 14:13:38 +0100199config TARGET_MA5D4EVK
Marek Vasutf1d56df2017-05-02 20:27:40 +0200200 bool "Aries MA5D4EVK Evaluation Kit"
Wenyou Yang22693372017-09-14 11:07:41 +0800201 select SAMA5D4
Marek Vasutc21c28b2016-02-11 14:13:38 +0100202 select SUPPORT_SPL
203
Masahiro Yamada4614b892015-02-20 17:04:01 +0900204config TARGET_MEESC
205 bool "Support meesc"
Wenyou Yang22693372017-09-14 11:07:41 +0800206 select AT91SAM9263
Masahiro Yamada4614b892015-02-20 17:04:01 +0900207
Masahiro Yamada4614b892015-02-20 17:04:01 +0900208config TARGET_CORVUS
209 bool "Support corvus"
Wenyou Yang22693372017-09-14 11:07:41 +0800210 select AT91SAM9M10G45
Masahiro Yamada4614b892015-02-20 17:04:01 +0900211 select SUPPORT_SPL
Heiko Schocher289f9792016-05-25 07:23:45 +0200212 select DM
213 select DM_SERIAL
214 select DM_GPIO
215 select DM_ETH
Masahiro Yamada4614b892015-02-20 17:04:01 +0900216
217config TARGET_TAURUS
218 bool "Support taurus"
Wenyou Yang22693372017-09-14 11:07:41 +0800219 select AT91SAM9G20
Masahiro Yamada4614b892015-02-20 17:04:01 +0900220 select SUPPORT_SPL
Heiko Schocher8e6e8222016-05-25 07:23:48 +0200221 select DM
222 select DM_SERIAL
223 select DM_GPIO
224 select DM_ETH
Masahiro Yamada4614b892015-02-20 17:04:01 +0900225
Heiko Schocher3b5df502015-06-29 09:10:48 +0200226config TARGET_SMARTWEB
227 bool "Support smartweb"
Wenyou Yang22693372017-09-14 11:07:41 +0800228 select AT91SAM9260
Heiko Schocher3b5df502015-06-29 09:10:48 +0200229 select SUPPORT_SPL
Heiko Schocher13ee7892016-05-25 07:23:47 +0200230 select DM
231 select DM_SERIAL
232 select DM_GPIO
233 select DM_ETH
Heiko Schocher3b5df502015-06-29 09:10:48 +0200234
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100235config TARGET_VINCO
236 bool "Support VINCO"
Wenyou Yang22693372017-09-14 11:07:41 +0800237 select SAMA5D4
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100238 select SUPPORT_SPL
239
Masahiro Yamada4614b892015-02-20 17:04:01 +0900240endchoice
241
242config SYS_SOC
243 default "at91"
244
Marek Vasutf1d56df2017-05-02 20:27:40 +0200245source "board/aries/ma5d4evk/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900246source "board/atmel/at91rm9200ek/Kconfig"
247source "board/atmel/at91sam9260ek/Kconfig"
248source "board/atmel/at91sam9261ek/Kconfig"
249source "board/atmel/at91sam9263ek/Kconfig"
250source "board/atmel/at91sam9m10g45ek/Kconfig"
251source "board/atmel/at91sam9n12ek/Kconfig"
252source "board/atmel/at91sam9rlek/Kconfig"
253source "board/atmel/at91sam9x5ek/Kconfig"
Wenyou Yang9989c152016-02-26 17:20:26 +0800254source "board/atmel/sama5d2_ptc/Kconfig"
Wenyou Yang75238f22015-10-30 09:55:52 +0800255source "board/atmel/sama5d2_xplained/Kconfig"
Wenyou Yangce4054b2017-09-13 14:58:54 +0800256source "board/atmel/sama5d27_som1_ek/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900257source "board/atmel/sama5d3_xplained/Kconfig"
258source "board/atmel/sama5d3xek/Kconfig"
259source "board/atmel/sama5d4_xplained/Kconfig"
260source "board/atmel/sama5d4ek/Kconfig"
Andre Renaud885fc032016-05-05 07:28:22 -0600261source "board/bluewater/gurnard/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900262source "board/bluewater/snapper9260/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900263source "board/calao/usb_a9263/Kconfig"
264source "board/egnite/ethernut5/Kconfig"
265source "board/esd/meesc/Kconfig"
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100266source "board/l+g/vinco/Kconfig"
Erik van Luijkbfc37f32015-08-17 12:47:34 +0200267source "board/mini-box/picosam9g45/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900268source "board/ronetix/pm9261/Kconfig"
269source "board/ronetix/pm9263/Kconfig"
270source "board/ronetix/pm9g45/Kconfig"
271source "board/siemens/corvus/Kconfig"
272source "board/siemens/taurus/Kconfig"
Heiko Schocher3b5df502015-06-29 09:10:48 +0200273source "board/siemens/smartweb/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900274
Philipp Tomsichb5299932017-08-03 23:23:55 +0200275config SPL_LDSCRIPT
276 default "arch/arm/mach-at91/arm926ejs/u-boot-spl.lds" if CPU_ARM926EJS
277 default "arch/arm/mach-at91/armv7/u-boot-spl.lds" if CPU_V7
278
Masahiro Yamada4614b892015-02-20 17:04:01 +0900279endif