1menu "M68000 architecture"
2	depends on M68K
3
4config SYS_ARCH
5	default "m68k"
6
7config STATIC_RELA
8	default y
9
10# processor family
11config MCF520x
12	select OF_CONTROL
13	select DM
14        select DM_SERIAL
15	bool
16
17config MCF52x2
18	select OF_CONTROL
19	select DM
20        select DM_SERIAL
21	bool
22
23config MCF523x
24	select OF_CONTROL
25	select DM
26        select DM_SERIAL
27	bool
28
29config MCF530x
30	select OF_CONTROL
31	select DM
32        select DM_SERIAL
33	bool
34
35config MCF5301x
36	select OF_CONTROL
37	select DM
38        select DM_SERIAL
39	bool
40
41config MCF532x
42	select OF_CONTROL
43	select DM
44        select DM_SERIAL
45	bool
46
47config MCF537x
48	select OF_CONTROL
49	select DM
50        select DM_SERIAL
51	bool
52
53config MCF5441x
54	select OF_CONTROL
55	select DM
56        select DM_SERIAL
57	bool
58
59# processor type
60config M5208
61	bool
62	select MCF520x
63
64config M5235
65	bool
66	select MCF523x
67
68config 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
92config M5307
93	bool
94	select MCF530x
95
96config 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
109config M54418
110	bool
111	select MCF5441x
112
113# peripherals
114config CF_DSPI
115	bool
116
117choice
118	prompt "Target select"
119	optional
120
121config TARGET_M5235EVB
122	bool "Support M5235EVB"
123	select M5235
124
125config TARGET_COBRA5272
126	bool "Support cobra5272"
127	select M5272
128
129config TARGET_EB_CPU5282
130	bool "Support eb_cpu5282"
131	select M5282
132	select HW_WATCHDOG
133
134config TARGET_M5208EVBE
135	bool "Support M5208EVBE"
136	select M5208
137
138config TARGET_M5249EVB
139	bool "Support M5249EVB"
140	select M5249
141
142config TARGET_M5253DEMO
143	bool "Support M5253DEMO"
144	select M5253
145
146config TARGET_M5272C3
147	bool "Support M5272C3"
148	select M5272
149
150config TARGET_M5275EVB
151	bool "Support M5275EVB"
152	select M5275
153
154config TARGET_M5282EVB
155	bool "Support M5282EVB"
156	select M5282
157
158config TARGET_ASTRO_MCF5373L
159	bool "Support astro_mcf5373l"
160	select M5373
161
162config TARGET_M53017EVB
163	bool "Support M53017EVB"
164	select M53015
165
166config TARGET_M5329EVB
167	bool "Support M5329EVB"
168	select M5329
169
170config TARGET_M5373EVB
171	bool "Support M5373EVB"
172	select M5373
173
174config TARGET_AMCORE
175	bool "Support AMCORE"
176	select M5307
177
178config TARGET_STMARK2
179        bool "Support stmark2"
180        select CF_DSPI
181        select M54418
182
183endchoice
184
185source "board/BuS/eb_cpu5282/Kconfig"
186source "board/astro/mcf5373l/Kconfig"
187source "board/cobra5272/Kconfig"
188source "board/freescale/m5208evbe/Kconfig"
189source "board/freescale/m5235evb/Kconfig"
190source "board/freescale/m5249evb/Kconfig"
191source "board/freescale/m5253demo/Kconfig"
192source "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"
198source "board/sysam/amcore/Kconfig"
199source "board/sysam/stmark2/Kconfig"
200
201config M68K_QEMU
202	bool "Build with workarounds for incomplete QEMU emulation"
203	help
204	  QEMU 8.x currently does not implement RAMBAR accesses and
205	  DMA timers. Enable this option for U-Boot CI purposes only
206	  to skip the RAMBAR accesses.
207
208config MCFTMR
209	bool "Use DMA timer"
210	default y if !M68K_QEMU
211	default n if M68K_QEMU
212
213endmenu
214