Prepare v2023.10
[platform/kernel/u-boot.git] / arch / m68k / Kconfig
1 menu "M68000 architecture"
2         depends on M68K
3
4 config SYS_ARCH
5         default "m68k"
6
7 config NEEDS_MANUAL_RELOC
8         def_bool y
9
10 # processor family
11 config MCF520x
12         select OF_CONTROL
13         select DM
14         select DM_SERIAL
15         bool
16
17 config MCF52x2
18         select OF_CONTROL
19         select DM
20         select DM_SERIAL
21         bool
22
23 config MCF523x
24         select OF_CONTROL
25         select DM
26         select DM_SERIAL
27         bool
28
29 config MCF530x
30         select OF_CONTROL
31         select DM
32         select DM_SERIAL
33         bool
34
35 config MCF5301x
36         select OF_CONTROL
37         select DM
38         select DM_SERIAL
39         bool
40
41 config MCF532x
42         select OF_CONTROL
43         select DM
44         select DM_SERIAL
45         bool
46
47 config MCF537x
48         select OF_CONTROL
49         select DM
50         select DM_SERIAL
51         bool
52
53 config MCF5441x
54         select OF_CONTROL
55         select DM
56         select DM_SERIAL
57         bool
58
59 # processor type
60 config M5208
61         bool
62         select MCF520x
63
64 config M5235
65         bool
66         select MCF523x
67
68 config M5249
69         bool
70         select MCF52x2
71
72 config M5253
73         bool
74         select MCF52x2
75
76 config M5271
77         bool
78         select MCF52x2
79
80 config M5272
81         bool
82         select MCF52x2
83
84 config M5275
85         bool
86         select MCF52x2
87
88 config M5282
89         bool
90         select MCF52x2
91
92 config M5307
93         bool
94         select MCF530x
95
96 config M53015
97         bool
98         select MCF5301x
99
100 config M5329
101         bool
102         select MCF532x
103
104 config M5373
105         bool
106         select MCF532x
107         select MCF537x
108
109 config M54418
110         bool
111         select MCF5441x
112
113 # peripherals
114 config CF_DSPI
115         bool
116
117 choice
118         prompt "Target select"
119         optional
120
121 config TARGET_M5235EVB
122         bool "Support M5235EVB"
123         select M5235
124
125 config TARGET_COBRA5272
126         bool "Support cobra5272"
127         select M5272
128
129 config TARGET_EB_CPU5282
130         bool "Support eb_cpu5282"
131         select M5282
132         select HW_WATCHDOG
133
134 config TARGET_M5208EVBE
135         bool "Support M5208EVBE"
136         select M5208
137
138 config TARGET_M5249EVB
139         bool "Support M5249EVB"
140         select M5249
141
142 config TARGET_M5253DEMO
143         bool "Support M5253DEMO"
144         select M5253
145
146 config TARGET_M5272C3
147         bool "Support M5272C3"
148         select M5272
149
150 config TARGET_M5275EVB
151         bool "Support M5275EVB"
152         select M5275
153
154 config TARGET_M5282EVB
155         bool "Support M5282EVB"
156         select M5282
157
158 config TARGET_ASTRO_MCF5373L
159         bool "Support astro_mcf5373l"
160         select M5373
161
162 config TARGET_M53017EVB
163         bool "Support M53017EVB"
164         select M53015
165
166 config TARGET_M5329EVB
167         bool "Support M5329EVB"
168         select M5329
169
170 config TARGET_M5373EVB
171         bool "Support M5373EVB"
172         select M5373
173
174 config TARGET_AMCORE
175         bool "Support AMCORE"
176         select M5307
177
178 config TARGET_STMARK2
179         bool "Support stmark2"
180         select CF_DSPI
181         select M54418
182
183 endchoice
184
185 source "board/BuS/eb_cpu5282/Kconfig"
186 source "board/astro/mcf5373l/Kconfig"
187 source "board/cobra5272/Kconfig"
188 source "board/freescale/m5208evbe/Kconfig"
189 source "board/freescale/m5235evb/Kconfig"
190 source "board/freescale/m5249evb/Kconfig"
191 source "board/freescale/m5253demo/Kconfig"
192 source "board/freescale/m5272c3/Kconfig"
193 source "board/freescale/m5275evb/Kconfig"
194 source "board/freescale/m5282evb/Kconfig"
195 source "board/freescale/m53017evb/Kconfig"
196 source "board/freescale/m5329evb/Kconfig"
197 source "board/freescale/m5373evb/Kconfig"
198 source "board/sysam/amcore/Kconfig"
199 source "board/sysam/stmark2/Kconfig"
200
201 config 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
209 config MCFTMR
210         bool "Use DMA timer"
211         default y if !M68K_QEMU
212         default n if M68K_QEMU
213
214 endmenu