blob: 1911563e54006666b8d019a64bb33491f5e6f692 [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "M68000 architecture"
2 depends on M68K
3
4config SYS_ARCH
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "m68k"
6
Michal Simekd58c0072022-06-24 14:15:01 +02007config NEEDS_MANUAL_RELOC
8 def_bool y
9
Masahiro Yamadad4a9b172015-03-27 17:01:06 +090010# processor family
11config MCF520x
Angelo Dureghello24bf41c2019-03-13 21:46:42 +010012 select OF_CONTROL
13 select DM
14 select DM_SERIAL
Masahiro Yamadad4a9b172015-03-27 17:01:06 +090015 bool
16
17config MCF52x2
Angelo Dureghello24bf41c2019-03-13 21:46:42 +010018 select OF_CONTROL
19 select DM
20 select DM_SERIAL
Masahiro Yamadad4a9b172015-03-27 17:01:06 +090021 bool
22
Masahiro Yamadaf47fb6b2015-03-27 17:01:11 +090023config MCF523x
Angelo Dureghello24bf41c2019-03-13 21:46:42 +010024 select OF_CONTROL
25 select DM
26 select DM_SERIAL
Masahiro Yamadaf47fb6b2015-03-27 17:01:11 +090027 bool
28
Masahiro Yamadabdde6592015-03-27 17:01:07 +090029config MCF530x
Angelo Dureghello24bf41c2019-03-13 21:46:42 +010030 select OF_CONTROL
31 select DM
32 select DM_SERIAL
Masahiro Yamadabdde6592015-03-27 17:01:07 +090033 bool
34
Masahiro Yamadac155ab72015-03-27 17:01:08 +090035config MCF5301x
Angelo Dureghello24bf41c2019-03-13 21:46:42 +010036 select OF_CONTROL
37 select DM
38 select DM_SERIAL
Masahiro Yamadac155ab72015-03-27 17:01:08 +090039 bool
40
41config MCF532x
Angelo Dureghello24bf41c2019-03-13 21:46:42 +010042 select OF_CONTROL
43 select DM
44 select DM_SERIAL
Masahiro Yamadac155ab72015-03-27 17:01:08 +090045 bool
46
47config MCF537x
Angelo Dureghello24bf41c2019-03-13 21:46:42 +010048 select OF_CONTROL
49 select DM
50 select DM_SERIAL
Masahiro Yamadac155ab72015-03-27 17:01:08 +090051 bool
52
Masahiro Yamada7f8ebbf2015-03-27 17:01:09 +090053config MCF5441x
Angelo Dureghello24bf41c2019-03-13 21:46:42 +010054 select OF_CONTROL
55 select DM
56 select DM_SERIAL
Masahiro Yamada7f8ebbf2015-03-27 17:01:09 +090057 bool
58
Masahiro Yamadad4a9b172015-03-27 17:01:06 +090059# processor type
60config M5208
61 bool
62 select MCF520x
63
Masahiro Yamadaf47fb6b2015-03-27 17:01:11 +090064config M5235
65 bool
66 select MCF523x
67
Masahiro Yamadad4a9b172015-03-27 17:01:06 +090068config M5249
69 bool
70 select MCF52x2
71
72config M5253
73 bool
74 select MCF52x2
75
76config M5271
77 bool
78 select MCF52x2
79
80config M5272
81 bool
82 select MCF52x2
83
84config M5275
85 bool
86 select MCF52x2
87
88config M5282
89 bool
90 select MCF52x2
91
Masahiro Yamadabdde6592015-03-27 17:01:07 +090092config M5307
93 bool
94 select MCF530x
95
Masahiro Yamadac155ab72015-03-27 17:01:08 +090096config M53015
97 bool
98 select MCF5301x
99
100config M5329
101 bool
102 select MCF532x
103
104config M5373
105 bool
106 select MCF532x
107 select MCF537x
108
Masahiro Yamada7f8ebbf2015-03-27 17:01:09 +0900109config M54418
110 bool
111 select MCF5441x
112
Tom Rinif88e9f52022-03-23 17:19:48 -0400113# peripherals
114config CF_DSPI
115 bool
116
Masahiro Yamadadd840582014-07-30 14:08:14 +0900117choice
118 prompt "Target select"
Joe Hershbergera26cd042015-05-12 14:46:23 -0500119 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +0900120
Masahiro Yamadadd840582014-07-30 14:08:14 +0900121config TARGET_M5235EVB
122 bool "Support M5235EVB"
Masahiro Yamadaf47fb6b2015-03-27 17:01:11 +0900123 select M5235
Masahiro Yamadadd840582014-07-30 14:08:14 +0900124
125config TARGET_COBRA5272
126 bool "Support cobra5272"
Masahiro Yamadad4a9b172015-03-27 17:01:06 +0900127 select M5272
Masahiro Yamadadd840582014-07-30 14:08:14 +0900128
129config TARGET_EB_CPU5282
130 bool "Support eb_cpu5282"
Masahiro Yamadad4a9b172015-03-27 17:01:06 +0900131 select M5282
Tom Rini3847ba92021-12-12 22:12:27 -0500132 select HW_WATCHDOG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900133
Masahiro Yamadadd840582014-07-30 14:08:14 +0900134config TARGET_M5208EVBE
135 bool "Support M5208EVBE"
Masahiro Yamadad4a9b172015-03-27 17:01:06 +0900136 select M5208
Masahiro Yamadadd840582014-07-30 14:08:14 +0900137
138config TARGET_M5249EVB
139 bool "Support M5249EVB"
Masahiro Yamadad4a9b172015-03-27 17:01:06 +0900140 select M5249
Masahiro Yamadadd840582014-07-30 14:08:14 +0900141
142config TARGET_M5253DEMO
143 bool "Support M5253DEMO"
Masahiro Yamadad4a9b172015-03-27 17:01:06 +0900144 select M5253
Masahiro Yamadadd840582014-07-30 14:08:14 +0900145
Masahiro Yamadadd840582014-07-30 14:08:14 +0900146config TARGET_M5272C3
147 bool "Support M5272C3"
Masahiro Yamadad4a9b172015-03-27 17:01:06 +0900148 select M5272
Masahiro Yamadadd840582014-07-30 14:08:14 +0900149
150config TARGET_M5275EVB
151 bool "Support M5275EVB"
Masahiro Yamadad4a9b172015-03-27 17:01:06 +0900152 select M5275
Masahiro Yamadadd840582014-07-30 14:08:14 +0900153
154config TARGET_M5282EVB
155 bool "Support M5282EVB"
Masahiro Yamadad4a9b172015-03-27 17:01:06 +0900156 select M5282
Masahiro Yamadadd840582014-07-30 14:08:14 +0900157
158config TARGET_ASTRO_MCF5373L
159 bool "Support astro_mcf5373l"
Masahiro Yamadac155ab72015-03-27 17:01:08 +0900160 select M5373
Masahiro Yamadadd840582014-07-30 14:08:14 +0900161
162config TARGET_M53017EVB
163 bool "Support M53017EVB"
Masahiro Yamadac155ab72015-03-27 17:01:08 +0900164 select M53015
Masahiro Yamadadd840582014-07-30 14:08:14 +0900165
166config TARGET_M5329EVB
167 bool "Support M5329EVB"
Masahiro Yamadac155ab72015-03-27 17:01:08 +0900168 select M5329
Masahiro Yamadadd840582014-07-30 14:08:14 +0900169
170config TARGET_M5373EVB
171 bool "Support M5373EVB"
Masahiro Yamadac155ab72015-03-27 17:01:08 +0900172 select M5373
Masahiro Yamadadd840582014-07-30 14:08:14 +0900173
angelo@sysam.it06fd66a2015-02-12 01:39:40 +0100174config TARGET_AMCORE
175 bool "Support AMCORE"
Masahiro Yamadabdde6592015-03-27 17:01:07 +0900176 select M5307
angelo@sysam.it06fd66a2015-02-12 01:39:40 +0100177
Angelo Dureghelloa3730242017-08-07 01:17:18 +0200178config TARGET_STMARK2
179 bool "Support stmark2"
Tom Rinif88e9f52022-03-23 17:19:48 -0400180 select CF_DSPI
Angelo Dureghelloa3730242017-08-07 01:17:18 +0200181 select M54418
182
Masahiro Yamadadd840582014-07-30 14:08:14 +0900183endchoice
184
185source "board/BuS/eb_cpu5282/Kconfig"
186source "board/astro/mcf5373l/Kconfig"
187source "board/cobra5272/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +0900188source "board/freescale/m5208evbe/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +0900189source "board/freescale/m5235evb/Kconfig"
190source "board/freescale/m5249evb/Kconfig"
191source "board/freescale/m5253demo/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +0900192source "board/freescale/m5272c3/Kconfig"
193source "board/freescale/m5275evb/Kconfig"
194source "board/freescale/m5282evb/Kconfig"
195source "board/freescale/m53017evb/Kconfig"
196source "board/freescale/m5329evb/Kconfig"
197source "board/freescale/m5373evb/Kconfig"
angelo@sysam.it06fd66a2015-02-12 01:39:40 +0100198source "board/sysam/amcore/Kconfig"
Angelo Dureghelloa3730242017-08-07 01:17:18 +0200199source "board/sysam/stmark2/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +0900200
Marek Vasut94f94012023-03-23 01:20:41 +0100201config M68K_QEMU
202 bool "Build with workarounds for incomplete QEMU emulation"
203 default n
204 help
205 QEMU 8.x currently does not implement RAMBAR accesses and
206 DMA timers. Enable this option for U-Boot CI purposes only
207 to skip the RAMBAR accesses.
208
Tom Rini143a3652022-03-23 17:19:49 -0400209config MCFTMR
210 bool "Use DMA timer"
Marek Vasut94f94012023-03-23 01:20:41 +0100211 default y if !M68K_QEMU
212 default n if M68K_QEMU
Tom Rini143a3652022-03-23 17:19:49 -0400213
Masahiro Yamadadd840582014-07-30 14:08:14 +0900214endmenu