xref: /openbmc/linux/arch/sh/Kconfig (revision 4862ec07)
1ea0e1a9aSPaul Mundt#
2ea0e1a9aSPaul Mundt# For a description of the syntax of this configuration file,
3ea0e1a9aSPaul Mundt# see Documentation/kbuild/kconfig-language.txt.
4ea0e1a9aSPaul Mundt#
5ea0e1a9aSPaul Mundt
6ea0e1a9aSPaul Mundtmainmenu "Linux/SuperH Kernel Configuration"
7ea0e1a9aSPaul Mundt
8ea0e1a9aSPaul Mundtconfig SUPERH
9ea0e1a9aSPaul Mundt	def_bool y
10ea0e1a9aSPaul Mundt	select EMBEDDED
11ea0e1a9aSPaul Mundt	help
12ea0e1a9aSPaul Mundt	  The SuperH is a RISC processor targeted for use in embedded systems
13ea0e1a9aSPaul Mundt	  and consumer electronics; it was also used in the Sega Dreamcast
14ea0e1a9aSPaul Mundt	  gaming console.  The SuperH port has a home page at
15ea0e1a9aSPaul Mundt	  <http://www.linux-sh.org/>.
16ea0e1a9aSPaul Mundt
17ea0e1a9aSPaul Mundtconfig SUPERH32
18ea0e1a9aSPaul Mundt	def_bool !SUPERH64
19ea0e1a9aSPaul Mundt
20ea0e1a9aSPaul Mundtconfig SUPERH64
21ea0e1a9aSPaul Mundt	def_bool y if CPU_SH5
22ea0e1a9aSPaul Mundt
23ea0e1a9aSPaul Mundtconfig RWSEM_GENERIC_SPINLOCK
24d7ef4fb3SHarvey Harrison	def_bool y
25ea0e1a9aSPaul Mundt
26ea0e1a9aSPaul Mundtconfig RWSEM_XCHGADD_ALGORITHM
27ea0e1a9aSPaul Mundt	bool
28ea0e1a9aSPaul Mundt
29ea0e1a9aSPaul Mundtconfig GENERIC_BUG
30ea0e1a9aSPaul Mundt	def_bool y
31a82d53ecSPaul Mundt	depends on BUG && SUPERH32
32ea0e1a9aSPaul Mundt
33ea0e1a9aSPaul Mundtconfig GENERIC_FIND_NEXT_BIT
34d7ef4fb3SHarvey Harrison	def_bool y
35ea0e1a9aSPaul Mundt
36ea0e1a9aSPaul Mundtconfig GENERIC_HWEIGHT
37d7ef4fb3SHarvey Harrison	def_bool y
38ea0e1a9aSPaul Mundt
39ea0e1a9aSPaul Mundtconfig GENERIC_HARDIRQS
40d7ef4fb3SHarvey Harrison	def_bool y
41ea0e1a9aSPaul Mundt
42ea0e1a9aSPaul Mundtconfig GENERIC_IRQ_PROBE
43d7ef4fb3SHarvey Harrison	def_bool y
44ea0e1a9aSPaul Mundt
45ea0e1a9aSPaul Mundtconfig GENERIC_CALIBRATE_DELAY
46d7ef4fb3SHarvey Harrison	def_bool y
47ea0e1a9aSPaul Mundt
48ea0e1a9aSPaul Mundtconfig GENERIC_IOMAP
49ea0e1a9aSPaul Mundt	bool
50ea0e1a9aSPaul Mundt
51ea0e1a9aSPaul Mundtconfig GENERIC_TIME
52ea0e1a9aSPaul Mundt	def_bool n
53ea0e1a9aSPaul Mundt
54ea0e1a9aSPaul Mundtconfig GENERIC_CLOCKEVENTS
55ea0e1a9aSPaul Mundt	def_bool n
56ea0e1a9aSPaul Mundt
57ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PM
58ea0e1a9aSPaul Mundt	bool
59ea0e1a9aSPaul Mundt
60ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_APM_EMULATION
61ea0e1a9aSPaul Mundt	bool
62ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_PM
63ea0e1a9aSPaul Mundt
64ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_SMP
65ea0e1a9aSPaul Mundt	bool
66ea0e1a9aSPaul Mundt
67ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_NUMA
68ea0e1a9aSPaul Mundt	bool
69ea0e1a9aSPaul Mundt
70ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PCI
71ea0e1a9aSPaul Mundt	bool
72ea0e1a9aSPaul Mundt
73ea0e1a9aSPaul Mundtconfig ARCH_MAY_HAVE_PC_FDC
74ea0e1a9aSPaul Mundt	bool
75ea0e1a9aSPaul Mundt
76ea0e1a9aSPaul Mundtconfig STACKTRACE_SUPPORT
77d7ef4fb3SHarvey Harrison	def_bool y
78ea0e1a9aSPaul Mundt
79ea0e1a9aSPaul Mundtconfig LOCKDEP_SUPPORT
80d7ef4fb3SHarvey Harrison	def_bool y
81ea0e1a9aSPaul Mundt
82ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U32
83d7ef4fb3SHarvey Harrison	def_bool n
84ea0e1a9aSPaul Mundt
85ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U64
86d7ef4fb3SHarvey Harrison	def_bool n
87ea0e1a9aSPaul Mundt
88ea0e1a9aSPaul Mundtconfig ARCH_NO_VIRT_TO_BUS
89ea0e1a9aSPaul Mundt	def_bool y
90ea0e1a9aSPaul Mundt
91ea0e1a9aSPaul Mundtsource "init/Kconfig"
92ea0e1a9aSPaul Mundt
93ea0e1a9aSPaul Mundtmenu "System type"
94ea0e1a9aSPaul Mundt
95ea0e1a9aSPaul Mundt#
96ea0e1a9aSPaul Mundt# Processor families
97ea0e1a9aSPaul Mundt#
98ea0e1a9aSPaul Mundtconfig CPU_SH2
99ea0e1a9aSPaul Mundt	bool
100ea0e1a9aSPaul Mundt
101ea0e1a9aSPaul Mundtconfig CPU_SH2A
102ea0e1a9aSPaul Mundt	bool
103ea0e1a9aSPaul Mundt	select CPU_SH2
104ea0e1a9aSPaul Mundt
105ea0e1a9aSPaul Mundtconfig CPU_SH3
106ea0e1a9aSPaul Mundt	bool
107ea0e1a9aSPaul Mundt	select CPU_HAS_INTEVT
108ea0e1a9aSPaul Mundt	select CPU_HAS_SR_RB
109ea0e1a9aSPaul Mundt
110ea0e1a9aSPaul Mundtconfig CPU_SH4
111ea0e1a9aSPaul Mundt	bool
112ea0e1a9aSPaul Mundt	select CPU_HAS_INTEVT
113ea0e1a9aSPaul Mundt	select CPU_HAS_SR_RB
114ea0e1a9aSPaul Mundt	select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
115ea0e1a9aSPaul Mundt	select CPU_HAS_FPU if !CPU_SH4AL_DSP
116ea0e1a9aSPaul Mundt
117ea0e1a9aSPaul Mundtconfig CPU_SH4A
118ea0e1a9aSPaul Mundt	bool
119ea0e1a9aSPaul Mundt	select CPU_SH4
120ea0e1a9aSPaul Mundt
121ea0e1a9aSPaul Mundtconfig CPU_SH4AL_DSP
122ea0e1a9aSPaul Mundt	bool
123ea0e1a9aSPaul Mundt	select CPU_SH4A
124ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
125ea0e1a9aSPaul Mundt
126ea0e1a9aSPaul Mundtconfig CPU_SH5
127ea0e1a9aSPaul Mundt	bool
128ea0e1a9aSPaul Mundt	select CPU_HAS_FPU
129ea0e1a9aSPaul Mundt
130ea0e1a9aSPaul Mundtconfig CPU_SHX2
131ea0e1a9aSPaul Mundt	bool
132ea0e1a9aSPaul Mundt
133ea0e1a9aSPaul Mundtconfig CPU_SHX3
134ea0e1a9aSPaul Mundt	bool
135ea0e1a9aSPaul Mundt
136ea0e1a9aSPaul Mundtchoice
137ea0e1a9aSPaul Mundt	prompt "Processor sub-type selection"
138ea0e1a9aSPaul Mundt
139ea0e1a9aSPaul Mundt#
140ea0e1a9aSPaul Mundt# Processor subtypes
141ea0e1a9aSPaul Mundt#
142ea0e1a9aSPaul Mundt
143ea0e1a9aSPaul Mundt# SH-2 Processor Support
144ea0e1a9aSPaul Mundt
145ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7619
146ea0e1a9aSPaul Mundt	bool "Support SH7619 processor"
147ea0e1a9aSPaul Mundt	select CPU_SH2
148ea0e1a9aSPaul Mundt
149ea0e1a9aSPaul Mundt# SH-2A Processor Support
150ea0e1a9aSPaul Mundt
1516d01f510SPaul Mundtconfig CPU_SUBTYPE_SH7203
1526d01f510SPaul Mundt	bool "Support SH7203 processor"
1536d01f510SPaul Mundt	select CPU_SH2A
15474d99a5eSPaul Mundt	select CPU_HAS_FPU
1556d01f510SPaul Mundt
156ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7206
157ea0e1a9aSPaul Mundt	bool "Support SH7206 processor"
158ea0e1a9aSPaul Mundt	select CPU_SH2A
159ea0e1a9aSPaul Mundt
160a8f67f4bSPaul Mundtconfig CPU_SUBTYPE_SH7263
161a8f67f4bSPaul Mundt	bool "Support SH7263 processor"
162a8f67f4bSPaul Mundt	select CPU_SH2A
16374d99a5eSPaul Mundt	select CPU_HAS_FPU
164a8f67f4bSPaul Mundt
165ea0e1a9aSPaul Mundt# SH-3 Processor Support
166ea0e1a9aSPaul Mundt
167ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7705
168ea0e1a9aSPaul Mundt	bool "Support SH7705 processor"
169ea0e1a9aSPaul Mundt	select CPU_SH3
170ea0e1a9aSPaul Mundt
171ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7706
172ea0e1a9aSPaul Mundt	bool "Support SH7706 processor"
173ea0e1a9aSPaul Mundt	select CPU_SH3
174ea0e1a9aSPaul Mundt	help
175ea0e1a9aSPaul Mundt	  Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
176ea0e1a9aSPaul Mundt
177ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7707
178ea0e1a9aSPaul Mundt	bool "Support SH7707 processor"
179ea0e1a9aSPaul Mundt	select CPU_SH3
180ea0e1a9aSPaul Mundt	help
181ea0e1a9aSPaul Mundt	  Select SH7707 if you have a  60 Mhz SH-3 HD6417707 CPU.
182ea0e1a9aSPaul Mundt
183ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7708
184ea0e1a9aSPaul Mundt	bool "Support SH7708 processor"
185ea0e1a9aSPaul Mundt	select CPU_SH3
186ea0e1a9aSPaul Mundt	help
187ea0e1a9aSPaul Mundt	  Select SH7708 if you have a  60 Mhz SH-3 HD6417708S or
188ea0e1a9aSPaul Mundt	  if you have a 100 Mhz SH-3 HD6417708R CPU.
189ea0e1a9aSPaul Mundt
190ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7709
191ea0e1a9aSPaul Mundt	bool "Support SH7709 processor"
192ea0e1a9aSPaul Mundt	select CPU_SH3
193ea0e1a9aSPaul Mundt	help
194ea0e1a9aSPaul Mundt	  Select SH7709 if you have a  80 Mhz SH-3 HD6417709 CPU.
195ea0e1a9aSPaul Mundt
196ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7710
197ea0e1a9aSPaul Mundt	bool "Support SH7710 processor"
198ea0e1a9aSPaul Mundt	select CPU_SH3
199ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
200ea0e1a9aSPaul Mundt	help
201ea0e1a9aSPaul Mundt	  Select SH7710 if you have a SH3-DSP SH7710 CPU.
202ea0e1a9aSPaul Mundt
203ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7712
204ea0e1a9aSPaul Mundt	bool "Support SH7712 processor"
205ea0e1a9aSPaul Mundt	select CPU_SH3
206ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
207ea0e1a9aSPaul Mundt	help
208ea0e1a9aSPaul Mundt	  Select SH7712 if you have a SH3-DSP SH7712 CPU.
209ea0e1a9aSPaul Mundt
210ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7720
211ea0e1a9aSPaul Mundt	bool "Support SH7720 processor"
212ea0e1a9aSPaul Mundt	select CPU_SH3
213ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
214ea0e1a9aSPaul Mundt	help
215ea0e1a9aSPaul Mundt	  Select SH7720 if you have a SH3-DSP SH7720 CPU.
216ea0e1a9aSPaul Mundt
21731a49c4bSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7721
21831a49c4bSYoshihiro Shimoda	bool "Support SH7721 processor"
21931a49c4bSYoshihiro Shimoda	select CPU_SH3
22031a49c4bSYoshihiro Shimoda	select CPU_HAS_DSP
22131a49c4bSYoshihiro Shimoda	help
22231a49c4bSYoshihiro Shimoda	  Select SH7721 if you have a SH3-DSP SH7721 CPU.
22331a49c4bSYoshihiro Shimoda
224ea0e1a9aSPaul Mundt# SH-4 Processor Support
225ea0e1a9aSPaul Mundt
226ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750
227ea0e1a9aSPaul Mundt	bool "Support SH7750 processor"
228ea0e1a9aSPaul Mundt	select CPU_SH4
229ea0e1a9aSPaul Mundt	help
230ea0e1a9aSPaul Mundt	  Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
231ea0e1a9aSPaul Mundt
232ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7091
233ea0e1a9aSPaul Mundt	bool "Support SH7091 processor"
234ea0e1a9aSPaul Mundt	select CPU_SH4
235ea0e1a9aSPaul Mundt	help
236ea0e1a9aSPaul Mundt	  Select SH7091 if you have an SH-4 based Sega device (such as
237ea0e1a9aSPaul Mundt	  the Dreamcast, Naomi, and Naomi 2).
238ea0e1a9aSPaul Mundt
239ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750R
240ea0e1a9aSPaul Mundt	bool "Support SH7750R processor"
241ea0e1a9aSPaul Mundt	select CPU_SH4
242ea0e1a9aSPaul Mundt
243ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750S
244ea0e1a9aSPaul Mundt	bool "Support SH7750S processor"
245ea0e1a9aSPaul Mundt	select CPU_SH4
246ea0e1a9aSPaul Mundt
247ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751
248ea0e1a9aSPaul Mundt	bool "Support SH7751 processor"
249ea0e1a9aSPaul Mundt	select CPU_SH4
250ea0e1a9aSPaul Mundt	help
251ea0e1a9aSPaul Mundt	  Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
252ea0e1a9aSPaul Mundt	  or if you have a HD6417751R CPU.
253ea0e1a9aSPaul Mundt
254ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751R
255ea0e1a9aSPaul Mundt	bool "Support SH7751R processor"
256ea0e1a9aSPaul Mundt	select CPU_SH4
257ea0e1a9aSPaul Mundt
258ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7760
259ea0e1a9aSPaul Mundt	bool "Support SH7760 processor"
260ea0e1a9aSPaul Mundt	select CPU_SH4
261ea0e1a9aSPaul Mundt
262ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH4_202
263ea0e1a9aSPaul Mundt	bool "Support SH4-202 processor"
264ea0e1a9aSPaul Mundt	select CPU_SH4
265ea0e1a9aSPaul Mundt
266ea0e1a9aSPaul Mundt# SH-4A Processor Support
267ea0e1a9aSPaul Mundt
2687d740a06SYoshihiro Shimodaconfig CPU_SUBTYPE_SH7763
2697d740a06SYoshihiro Shimoda	bool "Support SH7763 processor"
2707d740a06SYoshihiro Shimoda	select CPU_SH4A
2717d740a06SYoshihiro Shimoda	help
2727d740a06SYoshihiro Shimoda	  Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
2737d740a06SYoshihiro Shimoda
274ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7770
275ea0e1a9aSPaul Mundt	bool "Support SH7770 processor"
276ea0e1a9aSPaul Mundt	select CPU_SH4A
277ea0e1a9aSPaul Mundt
278ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7780
279ea0e1a9aSPaul Mundt	bool "Support SH7780 processor"
280ea0e1a9aSPaul Mundt	select CPU_SH4A
281ea0e1a9aSPaul Mundt
282ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7785
283ea0e1a9aSPaul Mundt	bool "Support SH7785 processor"
284ea0e1a9aSPaul Mundt	select CPU_SH4A
285ea0e1a9aSPaul Mundt	select CPU_SHX2
286ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
287ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
288ea0e1a9aSPaul Mundt
289ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SHX3
290ea0e1a9aSPaul Mundt	bool "Support SH-X3 processor"
291ea0e1a9aSPaul Mundt	select CPU_SH4A
292ea0e1a9aSPaul Mundt	select CPU_SHX3
293ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
294ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
295ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_SMP
296ea0e1a9aSPaul Mundt
297ea0e1a9aSPaul Mundt# SH4AL-DSP Processor Support
298ea0e1a9aSPaul Mundt
299ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7343
300ea0e1a9aSPaul Mundt	bool "Support SH7343 processor"
301ea0e1a9aSPaul Mundt	select CPU_SH4AL_DSP
302ea0e1a9aSPaul Mundt
303ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7722
304ea0e1a9aSPaul Mundt	bool "Support SH7722 processor"
305ea0e1a9aSPaul Mundt	select CPU_SH4AL_DSP
306ea0e1a9aSPaul Mundt	select CPU_SHX2
307ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
308ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
309ea0e1a9aSPaul Mundt
310ea0e1a9aSPaul Mundt# SH-5 Processor Support
311ea0e1a9aSPaul Mundt
312ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_101
313ea0e1a9aSPaul Mundt	bool "Support SH5-101 processor"
314ea0e1a9aSPaul Mundt	select CPU_SH5
315ea0e1a9aSPaul Mundt
316ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_103
317ea0e1a9aSPaul Mundt	bool "Support SH5-103 processor"
318ea0e1a9aSPaul Mundt
319ea0e1a9aSPaul Mundtendchoice
320ea0e1a9aSPaul Mundt
321ea0e1a9aSPaul Mundtsource "arch/sh/mm/Kconfig"
322ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.cpu"
323ea0e1a9aSPaul Mundt
324ea0e1a9aSPaul Mundtmenu "Board support"
325ea0e1a9aSPaul Mundt
326ea0e1a9aSPaul Mundtconfig SOLUTION_ENGINE
327ea0e1a9aSPaul Mundt	bool
328ea0e1a9aSPaul Mundt
329ea0e1a9aSPaul Mundtconfig SH_SOLUTION_ENGINE
330ea0e1a9aSPaul Mundt	bool "SolutionEngine"
331ea0e1a9aSPaul Mundt	select SOLUTION_ENGINE
332ea0e1a9aSPaul Mundt	select CPU_HAS_IPR_IRQ
333ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
334ea0e1a9aSPaul Mundt	  CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
335ea0e1a9aSPaul Mundt	  CPU_SUBTYPE_SH7750R
336ea0e1a9aSPaul Mundt	help
337ea0e1a9aSPaul Mundt	  Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
338ea0e1a9aSPaul Mundt	  SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
339ea0e1a9aSPaul Mundt
340ea0e1a9aSPaul Mundtconfig SH_7206_SOLUTION_ENGINE
341ea0e1a9aSPaul Mundt	bool "SolutionEngine7206"
342ea0e1a9aSPaul Mundt	select SOLUTION_ENGINE
343ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7206
344ea0e1a9aSPaul Mundt	help
345ea0e1a9aSPaul Mundt	  Select 7206 SolutionEngine if configuring for a Hitachi SH7206
346ea0e1a9aSPaul Mundt	  evaluation board.
347ea0e1a9aSPaul Mundt
348ea0e1a9aSPaul Mundtconfig SH_7619_SOLUTION_ENGINE
349ea0e1a9aSPaul Mundt	bool "SolutionEngine7619"
350ea0e1a9aSPaul Mundt	select SOLUTION_ENGINE
351ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7619
352ea0e1a9aSPaul Mundt	help
353ea0e1a9aSPaul Mundt	  Select 7619 SolutionEngine if configuring for a Hitachi SH7619
354ea0e1a9aSPaul Mundt	  evaluation board.
355ea0e1a9aSPaul Mundt
356ea0e1a9aSPaul Mundtconfig SH_7722_SOLUTION_ENGINE
357ea0e1a9aSPaul Mundt	bool "SolutionEngine7722"
358ea0e1a9aSPaul Mundt	select SOLUTION_ENGINE
359ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7722
360ea0e1a9aSPaul Mundt	help
361ea0e1a9aSPaul Mundt	  Select 7722 SolutionEngine if configuring for a Hitachi SH772
362ea0e1a9aSPaul Mundt	  evaluation board.
363ea0e1a9aSPaul Mundt
364ea0e1a9aSPaul Mundtconfig SH_7751_SOLUTION_ENGINE
365ea0e1a9aSPaul Mundt	bool "SolutionEngine7751"
366ea0e1a9aSPaul Mundt	select SOLUTION_ENGINE
367ea0e1a9aSPaul Mundt	select CPU_HAS_IPR_IRQ
368ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7751
369ea0e1a9aSPaul Mundt	help
370ea0e1a9aSPaul Mundt	  Select 7751 SolutionEngine if configuring for a Hitachi SH7751
371ea0e1a9aSPaul Mundt	  evaluation board.
372ea0e1a9aSPaul Mundt
373ea0e1a9aSPaul Mundtconfig SH_7780_SOLUTION_ENGINE
374ea0e1a9aSPaul Mundt	bool "SolutionEngine7780"
375ea0e1a9aSPaul Mundt	select SOLUTION_ENGINE
376ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_PCI
377ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7780
378ea0e1a9aSPaul Mundt	help
379ea0e1a9aSPaul Mundt	  Select 7780 SolutionEngine if configuring for a Renesas SH7780
380ea0e1a9aSPaul Mundt	  evaluation board.
381ea0e1a9aSPaul Mundt
382ea0e1a9aSPaul Mundtconfig SH_7343_SOLUTION_ENGINE
383ea0e1a9aSPaul Mundt	bool "SolutionEngine7343"
384ea0e1a9aSPaul Mundt	select SOLUTION_ENGINE
385ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7343
386ea0e1a9aSPaul Mundt	help
387ea0e1a9aSPaul Mundt	  Select 7343 SolutionEngine if configuring for a Hitachi
388ea0e1a9aSPaul Mundt	  SH7343 (SH-Mobile 3AS) evaluation board.
389ea0e1a9aSPaul Mundt
390ea0e1a9aSPaul Mundtconfig SH_7751_SYSTEMH
391ea0e1a9aSPaul Mundt	bool "SystemH7751R"
392ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7751R
393ea0e1a9aSPaul Mundt	help
394ea0e1a9aSPaul Mundt	  Select SystemH if you are configuring for a Renesas SystemH
395ea0e1a9aSPaul Mundt	  7751R evaluation board.
396ea0e1a9aSPaul Mundt
397ea0e1a9aSPaul Mundtconfig SH_HP6XX
398ea0e1a9aSPaul Mundt	bool "HP6XX"
399ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_APM_EMULATION
400ea0e1a9aSPaul Mundt	select HD6446X_SERIES
401ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7709
402ea0e1a9aSPaul Mundt	help
403ea0e1a9aSPaul Mundt	  Select HP6XX if configuring for a HP jornada HP6xx.
404ea0e1a9aSPaul Mundt	  More information (hardware only) at
405ea0e1a9aSPaul Mundt	  <http://www.hp.com/jornada/>.
406ea0e1a9aSPaul Mundt
407ea0e1a9aSPaul Mundtconfig SH_DREAMCAST
408ea0e1a9aSPaul Mundt	bool "Dreamcast"
409ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_PCI
410ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7091
411ea0e1a9aSPaul Mundt	help
412ea0e1a9aSPaul Mundt	  Select Dreamcast if configuring for a SEGA Dreamcast.
413ea0e1a9aSPaul Mundt	  More information at <http://www.linux-sh.org>
414ea0e1a9aSPaul Mundt
415ea0e1a9aSPaul Mundtconfig SH_MPC1211
416ea0e1a9aSPaul Mundt	bool "Interface MPC1211"
417ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7751 && BROKEN
418ea0e1a9aSPaul Mundt	help
419ea0e1a9aSPaul Mundt	  CTP/PCI-SH02 is a CPU module computer that is produced
420ea0e1a9aSPaul Mundt	  by Interface Corporation.
421ea0e1a9aSPaul Mundt	  More information at <http://www.interface.co.jp>
422ea0e1a9aSPaul Mundt
423ea0e1a9aSPaul Mundtconfig SH_SH03
424ea0e1a9aSPaul Mundt	bool "Interface CTP/PCI-SH03"
425ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7751
426ea0e1a9aSPaul Mundt	select CPU_HAS_IPR_IRQ
427ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_PCI
428ea0e1a9aSPaul Mundt	help
429ea0e1a9aSPaul Mundt	  CTP/PCI-SH03 is a CPU module computer that is produced
430ea0e1a9aSPaul Mundt	  by Interface Corporation.
431ea0e1a9aSPaul Mundt	  More information at <http://www.interface.co.jp>
432ea0e1a9aSPaul Mundt
433ea0e1a9aSPaul Mundtconfig SH_SECUREEDGE5410
434ea0e1a9aSPaul Mundt	bool "SecureEdge5410"
435ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7751R
436ea0e1a9aSPaul Mundt	select CPU_HAS_IPR_IRQ
437ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_PCI
438ea0e1a9aSPaul Mundt	help
439ea0e1a9aSPaul Mundt	  Select SecureEdge5410 if configuring for a SnapGear SH board.
440ea0e1a9aSPaul Mundt	  This includes both the OEM SecureEdge products as well as the
441ea0e1a9aSPaul Mundt	  SME product line.
442ea0e1a9aSPaul Mundt
443ea0e1a9aSPaul Mundtconfig SH_7710VOIPGW
444ea0e1a9aSPaul Mundt	bool "SH7710-VOIP-GW"
445ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7710
446ea0e1a9aSPaul Mundt	help
447ea0e1a9aSPaul Mundt	  Select this option to build a kernel for the SH7710 based
448ea0e1a9aSPaul Mundt	  VOIP GW.
449ea0e1a9aSPaul Mundt
450ea0e1a9aSPaul Mundtconfig SH_RTS7751R2D
451ea0e1a9aSPaul Mundt	bool "RTS7751R2D"
452ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7751R
453ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_PCI
454ea0e1a9aSPaul Mundt	help
455ea0e1a9aSPaul Mundt	  Select RTS7751R2D if configuring for a Renesas Technology
456ea0e1a9aSPaul Mundt	  Sales SH-Graphics board.
457ea0e1a9aSPaul Mundt
4584862ec07SNicholas Beckconfig SH_SDK7780
4594862ec07SNicholas Beck	bool "SDK7780R3"
4604862ec07SNicholas Beck	depends on CPU_SUBTYPE_SH7780
4614862ec07SNicholas Beck	select SYS_SUPPORTS_PCI
4624862ec07SNicholas Beck	help
4634862ec07SNicholas Beck	  Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
4644862ec07SNicholas Beck	  evaluation board.
4654862ec07SNicholas Beck
466ea0e1a9aSPaul Mundtconfig SH_HIGHLANDER
467ea0e1a9aSPaul Mundt	bool "Highlander"
468ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
469ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_PCI
470ea0e1a9aSPaul Mundt
471ea0e1a9aSPaul Mundtconfig SH_EDOSK7705
472ea0e1a9aSPaul Mundt	bool "EDOSK7705"
473ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7705
474ea0e1a9aSPaul Mundt
475ea0e1a9aSPaul Mundtconfig SH_SH4202_MICRODEV
476ea0e1a9aSPaul Mundt	bool "SH4-202 MicroDev"
477ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH4_202
478ea0e1a9aSPaul Mundt	help
479ea0e1a9aSPaul Mundt	  Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
480ea0e1a9aSPaul Mundt	  with an SH4-202 CPU.
481ea0e1a9aSPaul Mundt
482ea0e1a9aSPaul Mundtconfig SH_LANDISK
483ea0e1a9aSPaul Mundt	bool "LANDISK"
484ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7751R
485ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_PCI
486ea0e1a9aSPaul Mundt	help
487ea0e1a9aSPaul Mundt	  I-O DATA DEVICE, INC. "LANDISK Series" support.
488ea0e1a9aSPaul Mundt
489ea0e1a9aSPaul Mundtconfig SH_TITAN
490ea0e1a9aSPaul Mundt	bool "TITAN"
491ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7751R
492ea0e1a9aSPaul Mundt	select CPU_HAS_IPR_IRQ
493ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_PCI
494ea0e1a9aSPaul Mundt	help
495ea0e1a9aSPaul Mundt	  Select Titan if you are configuring for a Nimble Microsystems
496ea0e1a9aSPaul Mundt	  NetEngine NP51R.
497ea0e1a9aSPaul Mundt
498ea0e1a9aSPaul Mundtconfig SH_SHMIN
499ea0e1a9aSPaul Mundt	bool "SHMIN"
500ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7706
501ea0e1a9aSPaul Mundt	select CPU_HAS_IPR_IRQ
502ea0e1a9aSPaul Mundt	help
503ea0e1a9aSPaul Mundt	  Select SHMIN if configuring for the SHMIN board.
504ea0e1a9aSPaul Mundt
505ea0e1a9aSPaul Mundtconfig SH_LBOX_RE2
506ea0e1a9aSPaul Mundt	bool "L-BOX RE2"
507ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7751R
508ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_PCI
509ea0e1a9aSPaul Mundt	help
510ea0e1a9aSPaul Mundt	  Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
511ea0e1a9aSPaul Mundt
512ea0e1a9aSPaul Mundtconfig SH_X3PROTO
513ea0e1a9aSPaul Mundt	bool "SH-X3 Prototype board"
514ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SHX3
515ea0e1a9aSPaul Mundt
516ea0e1a9aSPaul Mundtconfig SH_MAGIC_PANEL_R2
517ea0e1a9aSPaul Mundt	bool "Magic Panel R2"
518ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH7720
519ea0e1a9aSPaul Mundt	help
520ea0e1a9aSPaul Mundt	  Select Magic Panel R2 if configuring for Magic Panel R2.
521ea0e1a9aSPaul Mundt
522ea0e1a9aSPaul Mundtconfig SH_CAYMAN
523ea0e1a9aSPaul Mundt	bool "Hitachi Cayman"
524ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
525b6d7b666SPaul Mundt	select SYS_SUPPORTS_PCI
526ea0e1a9aSPaul Mundt
527ea0e1a9aSPaul Mundtendmenu
528ea0e1a9aSPaul Mundt
529ea0e1a9aSPaul Mundtsource "arch/sh/boards/renesas/rts7751r2d/Kconfig"
530ea0e1a9aSPaul Mundtsource "arch/sh/boards/renesas/r7780rp/Kconfig"
5314862ec07SNicholas Becksource "arch/sh/boards/renesas/sdk7780/Kconfig"
532ea0e1a9aSPaul Mundtsource "arch/sh/boards/magicpanelr2/Kconfig"
533ea0e1a9aSPaul Mundt
534ea0e1a9aSPaul Mundtmenu "Timer and clock configuration"
535ea0e1a9aSPaul Mundt
536ea0e1a9aSPaul Mundtconfig SH_TMU
537d7ef4fb3SHarvey Harrison	def_bool y
538d7ef4fb3SHarvey Harrison	prompt "TMU timer support"
539ea0e1a9aSPaul Mundt	depends on CPU_SH3 || CPU_SH4
540ea0e1a9aSPaul Mundt	select GENERIC_TIME
541ea0e1a9aSPaul Mundt	select GENERIC_CLOCKEVENTS
542ea0e1a9aSPaul Mundt	help
543ea0e1a9aSPaul Mundt	  This enables the use of the TMU as the system timer.
544ea0e1a9aSPaul Mundt
545ea0e1a9aSPaul Mundtconfig SH_CMT
546d7ef4fb3SHarvey Harrison	def_bool y
547d7ef4fb3SHarvey Harrison	prompt "CMT timer support"
548ea0e1a9aSPaul Mundt	depends on CPU_SH2
549ea0e1a9aSPaul Mundt	help
550ea0e1a9aSPaul Mundt	  This enables the use of the CMT as the system timer.
551ea0e1a9aSPaul Mundt
552ea0e1a9aSPaul Mundtconfig SH_MTU2
553d7ef4fb3SHarvey Harrison	def_bool n
554d7ef4fb3SHarvey Harrison	prompt "MTU2 timer support"
555ea0e1a9aSPaul Mundt	depends on CPU_SH2A
556ea0e1a9aSPaul Mundt	help
557ea0e1a9aSPaul Mundt	  This enables the use of the MTU2 as the system timer.
558ea0e1a9aSPaul Mundt
559ea0e1a9aSPaul Mundtconfig SH_TIMER_IRQ
560ea0e1a9aSPaul Mundt	int
5617d740a06SYoshihiro Shimoda	default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
5627d740a06SYoshihiro Shimoda			CPU_SUBTYPE_SH7763
563ea0e1a9aSPaul Mundt	default "86" if CPU_SUBTYPE_SH7619
564ea0e1a9aSPaul Mundt	default "140" if CPU_SUBTYPE_SH7206
565ea0e1a9aSPaul Mundt	default "16"
566ea0e1a9aSPaul Mundt
567ea0e1a9aSPaul Mundtconfig SH_PCLK_FREQ
568ea0e1a9aSPaul Mundt	int "Peripheral clock frequency (in Hz)"
569ea0e1a9aSPaul Mundt	default "27000000" if CPU_SUBTYPE_SH7343
570ea0e1a9aSPaul Mundt	default "31250000" if CPU_SUBTYPE_SH7619
571ea0e1a9aSPaul Mundt	default "32000000" if CPU_SUBTYPE_SH7722
572ea0e1a9aSPaul Mundt	default "33333333" if CPU_SUBTYPE_SH7770 || \
573ea0e1a9aSPaul Mundt			      CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
574a8f67f4bSPaul Mundt			      CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
575a8f67f4bSPaul Mundt			      CPU_SUBTYPE_SH7263
576ea0e1a9aSPaul Mundt	default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
577ea0e1a9aSPaul Mundt	default "66000000" if CPU_SUBTYPE_SH4_202
578ea0e1a9aSPaul Mundt	default "50000000"
579ea0e1a9aSPaul Mundt	help
580ea0e1a9aSPaul Mundt	  This option is used to specify the peripheral clock frequency.
581ea0e1a9aSPaul Mundt	  This is necessary for determining the reference clock value on
582ea0e1a9aSPaul Mundt	  platforms lacking an RTC.
583ea0e1a9aSPaul Mundt
584ea0e1a9aSPaul Mundtconfig SH_CLK_MD
585ea0e1a9aSPaul Mundt	int "CPU Mode Pin Setting"
5866d01f510SPaul Mundt	depends on CPU_SH2
587ea0e1a9aSPaul Mundt	default 6 if CPU_SUBTYPE_SH7206
588ea0e1a9aSPaul Mundt	default 5 if CPU_SUBTYPE_SH7619
589ea0e1a9aSPaul Mundt	default 0
590ea0e1a9aSPaul Mundt	help
591ea0e1a9aSPaul Mundt	  MD2 - MD0 pin setting.
592ea0e1a9aSPaul Mundt
593ea0e1a9aSPaul Mundtsource "kernel/time/Kconfig"
594ea0e1a9aSPaul Mundt
595ea0e1a9aSPaul Mundtendmenu
596ea0e1a9aSPaul Mundt
597ea0e1a9aSPaul Mundtmenu "CPU Frequency scaling"
598ea0e1a9aSPaul Mundt
599ea0e1a9aSPaul Mundtsource "drivers/cpufreq/Kconfig"
600ea0e1a9aSPaul Mundt
601ea0e1a9aSPaul Mundtconfig SH_CPU_FREQ
602ea0e1a9aSPaul Mundt	tristate "SuperH CPU Frequency driver"
603ea0e1a9aSPaul Mundt	depends on CPU_FREQ
604ea0e1a9aSPaul Mundt	select CPU_FREQ_TABLE
605ea0e1a9aSPaul Mundt	help
606ea0e1a9aSPaul Mundt	  This adds the cpufreq driver for SuperH. At present, only
607ea0e1a9aSPaul Mundt	  the SH-4 is supported.
608ea0e1a9aSPaul Mundt
609ea0e1a9aSPaul Mundt	  For details, take a look at <file:Documentation/cpu-freq>.
610ea0e1a9aSPaul Mundt
611ea0e1a9aSPaul Mundt	  If unsure, say N.
612ea0e1a9aSPaul Mundt
613ea0e1a9aSPaul Mundtendmenu
614ea0e1a9aSPaul Mundt
615ea0e1a9aSPaul Mundtsource "arch/sh/drivers/Kconfig"
616ea0e1a9aSPaul Mundt
617ea0e1a9aSPaul Mundtendmenu
618ea0e1a9aSPaul Mundt
619ea0e1a9aSPaul Mundtconfig ISA_DMA_API
620d7ef4fb3SHarvey Harrison	def_bool y
621ea0e1a9aSPaul Mundt	depends on SH_MPC1211
622ea0e1a9aSPaul Mundt
623ea0e1a9aSPaul Mundtmenu "Kernel features"
624ea0e1a9aSPaul Mundt
625ea0e1a9aSPaul Mundtsource kernel/Kconfig.hz
626ea0e1a9aSPaul Mundt
627ea0e1a9aSPaul Mundtconfig KEXEC
628ea0e1a9aSPaul Mundt	bool "kexec system call (EXPERIMENTAL)"
629ea0e1a9aSPaul Mundt	depends on EXPERIMENTAL
630ea0e1a9aSPaul Mundt	help
631ea0e1a9aSPaul Mundt	  kexec is a system call that implements the ability to shutdown your
632ea0e1a9aSPaul Mundt	  current kernel, and to start another kernel.  It is like a reboot
633ea0e1a9aSPaul Mundt	  but it is independent of the system firmware.  And like a reboot
634ea0e1a9aSPaul Mundt	  you can start any kernel with it, not just Linux.
635ea0e1a9aSPaul Mundt
636ea0e1a9aSPaul Mundt	  The name comes from the similarity to the exec system call.
637ea0e1a9aSPaul Mundt
638ea0e1a9aSPaul Mundt	  It is an ongoing process to be certain the hardware in a machine
639ea0e1a9aSPaul Mundt	  is properly shutdown, so do not be surprised if this code does not
640ea0e1a9aSPaul Mundt	  initially work for you.  It may help to enable device hotplugging
641ea0e1a9aSPaul Mundt	  support.  As of this writing the exact hardware interface is
642ea0e1a9aSPaul Mundt	  strongly in flux, so no good recommendation can be made.
643ea0e1a9aSPaul Mundt
644ea0e1a9aSPaul Mundtconfig CRASH_DUMP
645ea0e1a9aSPaul Mundt	bool "kernel crash dumps (EXPERIMENTAL)"
646ea0e1a9aSPaul Mundt	depends on EXPERIMENTAL
647ea0e1a9aSPaul Mundt	help
648ea0e1a9aSPaul Mundt	  Generate crash dump after being started by kexec.
649ea0e1a9aSPaul Mundt	  This should be normally only set in special crash dump kernels
650ea0e1a9aSPaul Mundt	  which are loaded in the main kernel with kexec-tools into
651ea0e1a9aSPaul Mundt	  a specially reserved region and then later executed after
652ea0e1a9aSPaul Mundt	  a crash by kdump/kexec. The crash dump kernel must be compiled
653ea0e1a9aSPaul Mundt	  to a memory address not used by the main kernel using
654ea0e1a9aSPaul Mundt	  MEMORY_START.
655ea0e1a9aSPaul Mundt
656ea0e1a9aSPaul Mundt	  For more details see Documentation/kdump/kdump.txt
657ea0e1a9aSPaul Mundt
658ea0e1a9aSPaul Mundtconfig SMP
659ea0e1a9aSPaul Mundt	bool "Symmetric multi-processing support"
660ea0e1a9aSPaul Mundt	depends on SYS_SUPPORTS_SMP
661ea0e1a9aSPaul Mundt	---help---
662ea0e1a9aSPaul Mundt	  This enables support for systems with more than one CPU. If you have
663ea0e1a9aSPaul Mundt	  a system with only one CPU, like most personal computers, say N. If
664ea0e1a9aSPaul Mundt	  you have a system with more than one CPU, say Y.
665ea0e1a9aSPaul Mundt
666ea0e1a9aSPaul Mundt	  If you say N here, the kernel will run on single and multiprocessor
667ea0e1a9aSPaul Mundt	  machines, but will use only one CPU of a multiprocessor machine. If
668ea0e1a9aSPaul Mundt	  you say Y here, the kernel will run on many, but not all,
669ea0e1a9aSPaul Mundt	  singleprocessor machines. On a singleprocessor machine, the kernel
670ea0e1a9aSPaul Mundt	  will run faster if you say N here.
671ea0e1a9aSPaul Mundt
672ea0e1a9aSPaul Mundt	  People using multiprocessor machines who say Y here should also say
673ea0e1a9aSPaul Mundt	  Y to "Enhanced Real Time Clock Support", below.
674ea0e1a9aSPaul Mundt
675ea0e1a9aSPaul Mundt	  See also the <file:Documentation/smp.txt>,
676ea0e1a9aSPaul Mundt	  <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
677ea0e1a9aSPaul Mundt	  at <http://www.tldp.org/docs.html#howto>.
678ea0e1a9aSPaul Mundt
679ea0e1a9aSPaul Mundt	  If you don't know what to do here, say N.
680ea0e1a9aSPaul Mundt
681ea0e1a9aSPaul Mundtconfig NR_CPUS
682ea0e1a9aSPaul Mundt	int "Maximum number of CPUs (2-32)"
683ea0e1a9aSPaul Mundt	range 2 32
684ea0e1a9aSPaul Mundt	depends on SMP
685ea0e1a9aSPaul Mundt	default "4" if CPU_SHX3
686ea0e1a9aSPaul Mundt	default "2"
687ea0e1a9aSPaul Mundt	help
688ea0e1a9aSPaul Mundt	  This allows you to specify the maximum number of CPUs which this
689ea0e1a9aSPaul Mundt	  kernel will support.  The maximum supported value is 32 and the
690ea0e1a9aSPaul Mundt	  minimum value which makes sense is 2.
691ea0e1a9aSPaul Mundt
692ea0e1a9aSPaul Mundt	  This is purely to save memory - each supported CPU adds
693ea0e1a9aSPaul Mundt	  approximately eight kilobytes to the kernel image.
694ea0e1a9aSPaul Mundt
695ea0e1a9aSPaul Mundtsource "kernel/Kconfig.preempt"
696ea0e1a9aSPaul Mundt
697ea0e1a9aSPaul Mundtconfig GUSA
698ea0e1a9aSPaul Mundt	def_bool y
6991efe4ce3SStuart Menefy	depends on !SMP && SUPERH32
700ea0e1a9aSPaul Mundt	help
701ea0e1a9aSPaul Mundt	  This enables support for gUSA (general UserSpace Atomicity).
702ea0e1a9aSPaul Mundt	  This is the default implementation for both UP and non-ll/sc
703ea0e1a9aSPaul Mundt	  CPUs, and is used by the libc, amongst others.
704ea0e1a9aSPaul Mundt
705ea0e1a9aSPaul Mundt	  For additional information, design information can be found
706ea0e1a9aSPaul Mundt	  in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
707ea0e1a9aSPaul Mundt
708ea0e1a9aSPaul Mundt	  This should only be disabled for special cases where alternate
709ea0e1a9aSPaul Mundt	  atomicity implementations exist.
710ea0e1a9aSPaul Mundt
7111efe4ce3SStuart Menefyconfig GUSA_RB
7121efe4ce3SStuart Menefy	bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
7131efe4ce3SStuart Menefy	depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
7141efe4ce3SStuart Menefy	help
7151efe4ce3SStuart Menefy	  Enabling this option will allow the kernel to implement some
7161efe4ce3SStuart Menefy	  atomic operations using a software implemention of load-locked/
7171efe4ce3SStuart Menefy	  store-conditional (LLSC). On machines which do not have hardware
7181efe4ce3SStuart Menefy	  LLSC, this should be more efficient than the other alternative of
7191efe4ce3SStuart Menefy	  disabling insterrupts around the atomic sequence.
7201efe4ce3SStuart Menefy
721ea0e1a9aSPaul Mundtendmenu
722ea0e1a9aSPaul Mundt
723ea0e1a9aSPaul Mundtmenu "Boot options"
724ea0e1a9aSPaul Mundt
725ea0e1a9aSPaul Mundtconfig ZERO_PAGE_OFFSET
726ea0e1a9aSPaul Mundt	hex "Zero page offset"
727ea0e1a9aSPaul Mundt	default "0x00004000" if SH_MPC1211 || SH_SH03
728ea0e1a9aSPaul Mundt	default "0x00010000" if PAGE_SIZE_64KB
729ea0e1a9aSPaul Mundt	default "0x00002000" if PAGE_SIZE_8KB
730ea0e1a9aSPaul Mundt	default "0x00001000"
731ea0e1a9aSPaul Mundt	help
732ea0e1a9aSPaul Mundt	  This sets the default offset of zero page.
733ea0e1a9aSPaul Mundt
734ea0e1a9aSPaul Mundtconfig BOOT_LINK_OFFSET
735ea0e1a9aSPaul Mundt	hex "Link address offset for booting"
736ea0e1a9aSPaul Mundt	default "0x00800000"
737ea0e1a9aSPaul Mundt	help
738ea0e1a9aSPaul Mundt	  This option allows you to set the link address offset of the zImage.
739ea0e1a9aSPaul Mundt	  This can be useful if you are on a board which has a small amount of
740ea0e1a9aSPaul Mundt	  memory.
741ea0e1a9aSPaul Mundt
742ea0e1a9aSPaul Mundtconfig UBC_WAKEUP
743ea0e1a9aSPaul Mundt	bool "Wakeup UBC on startup"
744ea0e1a9aSPaul Mundt	depends on CPU_SH4 && !CPU_SH4A
745ea0e1a9aSPaul Mundt	help
746ea0e1a9aSPaul Mundt	  Selecting this option will wakeup the User Break Controller (UBC) on
747ea0e1a9aSPaul Mundt	  startup. Although the UBC is left in an awake state when the processor
748ea0e1a9aSPaul Mundt	  comes up, some boot loaders misbehave by putting the UBC to sleep in a
749ea0e1a9aSPaul Mundt	  power saving state, which causes issues with things like ptrace().
750ea0e1a9aSPaul Mundt
751ea0e1a9aSPaul Mundt	  If unsure, say N.
752ea0e1a9aSPaul Mundt
753ea0e1a9aSPaul Mundtconfig CMDLINE_BOOL
754ea0e1a9aSPaul Mundt	bool "Default bootloader kernel arguments"
755ea0e1a9aSPaul Mundt
756ea0e1a9aSPaul Mundtconfig CMDLINE
757ea0e1a9aSPaul Mundt	string "Initial kernel command string"
758ea0e1a9aSPaul Mundt	depends on CMDLINE_BOOL
759ea0e1a9aSPaul Mundt	default "console=ttySC1,115200"
760ea0e1a9aSPaul Mundt
761ea0e1a9aSPaul Mundtendmenu
762ea0e1a9aSPaul Mundt
763ea0e1a9aSPaul Mundtmenu "Bus options"
764ea0e1a9aSPaul Mundt
765ea0e1a9aSPaul Mundt# Even on SuperH devices which don't have an ISA bus,
766ea0e1a9aSPaul Mundt# this variable helps the PCMCIA modules handle
767ea0e1a9aSPaul Mundt# IRQ requesting properly -- Greg Banks.
768ea0e1a9aSPaul Mundt#
769ea0e1a9aSPaul Mundt# Though we're generally not interested in it when
770ea0e1a9aSPaul Mundt# we're not using PCMCIA, so we make it dependent on
771ea0e1a9aSPaul Mundt# PCMCIA outright. -- PFM.
772ea0e1a9aSPaul Mundtconfig ISA
773ea0e1a9aSPaul Mundt	def_bool y
774ea0e1a9aSPaul Mundt	depends on PCMCIA && HD6446X_SERIES
775ea0e1a9aSPaul Mundt	help
776ea0e1a9aSPaul Mundt	  Find out whether you have ISA slots on your motherboard.  ISA is the
777ea0e1a9aSPaul Mundt	  name of a bus system, i.e. the way the CPU talks to the other stuff
778ea0e1a9aSPaul Mundt	  inside your box.  Other bus systems are PCI, EISA, MicroChannel
779ea0e1a9aSPaul Mundt	  (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
780ea0e1a9aSPaul Mundt	  newer boards don't support it.  If you have ISA, say Y, otherwise N.
781ea0e1a9aSPaul Mundt
782ea0e1a9aSPaul Mundtconfig EISA
783ea0e1a9aSPaul Mundt	bool
784ea0e1a9aSPaul Mundt	---help---
785ea0e1a9aSPaul Mundt	  The Extended Industry Standard Architecture (EISA) bus was
786ea0e1a9aSPaul Mundt	  developed as an open alternative to the IBM MicroChannel bus.
787ea0e1a9aSPaul Mundt
788ea0e1a9aSPaul Mundt	  The EISA bus provided some of the features of the IBM MicroChannel
789ea0e1a9aSPaul Mundt	  bus while maintaining backward compatibility with cards made for
790ea0e1a9aSPaul Mundt	  the older ISA bus.  The EISA bus saw limited use between 1988 and
791ea0e1a9aSPaul Mundt	  1995 when it was made obsolete by the PCI bus.
792ea0e1a9aSPaul Mundt
793ea0e1a9aSPaul Mundt	  Say Y here if you are building a kernel for an EISA-based machine.
794ea0e1a9aSPaul Mundt
795ea0e1a9aSPaul Mundt	  Otherwise, say N.
796ea0e1a9aSPaul Mundt
797ea0e1a9aSPaul Mundtconfig MCA
798ea0e1a9aSPaul Mundt	bool
799ea0e1a9aSPaul Mundt	help
800ea0e1a9aSPaul Mundt	  MicroChannel Architecture is found in some IBM PS/2 machines and
801ea0e1a9aSPaul Mundt	  laptops.  It is a bus system similar to PCI or ISA. See
802ea0e1a9aSPaul Mundt	  <file:Documentation/mca.txt> (and especially the web page given
803ea0e1a9aSPaul Mundt	  there) before attempting to build an MCA bus kernel.
804ea0e1a9aSPaul Mundt
805ea0e1a9aSPaul Mundtconfig SBUS
806ea0e1a9aSPaul Mundt	bool
807ea0e1a9aSPaul Mundt
808ea0e1a9aSPaul Mundtconfig SUPERHYWAY
809ea0e1a9aSPaul Mundt	tristate "SuperHyway Bus support"
810ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH4_202
811ea0e1a9aSPaul Mundt
812ea0e1a9aSPaul Mundtconfig MAPLE
813ea0e1a9aSPaul Mundt       bool "Maple Bus support"
814ea0e1a9aSPaul Mundt       depends on SH_DREAMCAST
815ea0e1a9aSPaul Mundt       help
816ea0e1a9aSPaul Mundt         The Maple Bus is SEGA's serial communication bus for peripherals
817ea0e1a9aSPaul Mundt         on the Dreamcast. Without this bus support you won't be able to
818ea0e1a9aSPaul Mundt         get your Dreamcast keyboard etc to work, so most users
819ea0e1a9aSPaul Mundt         probably want to say 'Y' here, unless you are only using the
820ea0e1a9aSPaul Mundt         Dreamcast with a serial line terminal or a remote network
821ea0e1a9aSPaul Mundt         connection.
822ea0e1a9aSPaul Mundt
823ea0e1a9aSPaul Mundtconfig CF_ENABLER
824ea0e1a9aSPaul Mundt	bool "Compact Flash Enabler support"
825ea0e1a9aSPaul Mundt	depends on SOLUTION_ENGINE || SH_SH03
826ea0e1a9aSPaul Mundt	---help---
827ea0e1a9aSPaul Mundt	  Compact Flash is a small, removable mass storage device introduced
828ea0e1a9aSPaul Mundt	  in 1994 originally as a PCMCIA device.  If you say `Y' here, you
829ea0e1a9aSPaul Mundt	  compile in support for Compact Flash devices directly connected to
830ea0e1a9aSPaul Mundt	  a SuperH processor.  A Compact Flash FAQ is available at
831ea0e1a9aSPaul Mundt	  <http://www.compactflash.org/faqs/faq.htm>.
832ea0e1a9aSPaul Mundt
833ea0e1a9aSPaul Mundt	  If your board has "Directly Connected" CompactFlash at area 5 or 6,
834ea0e1a9aSPaul Mundt	  you may want to enable this option.  Then, you can use CF as
835ea0e1a9aSPaul Mundt	  primary IDE drive (only tested for SanDisk).
836ea0e1a9aSPaul Mundt
837ea0e1a9aSPaul Mundt	  If in doubt, select 'N'.
838ea0e1a9aSPaul Mundt
839ea0e1a9aSPaul Mundtchoice
840ea0e1a9aSPaul Mundt	prompt "Compact Flash Connection Area"
841ea0e1a9aSPaul Mundt	depends on CF_ENABLER
842ea0e1a9aSPaul Mundt	default CF_AREA6
843ea0e1a9aSPaul Mundt
844ea0e1a9aSPaul Mundtconfig CF_AREA5
845ea0e1a9aSPaul Mundt	bool "Area5"
846ea0e1a9aSPaul Mundt	help
847ea0e1a9aSPaul Mundt	  If your board has "Directly Connected" CompactFlash, You should
848ea0e1a9aSPaul Mundt	  select the area where your CF is connected to.
849ea0e1a9aSPaul Mundt
850ea0e1a9aSPaul Mundt	  - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
851ea0e1a9aSPaul Mundt	  - "Area6" if it is connected to Area 6 (0x18000000)
852ea0e1a9aSPaul Mundt
853ea0e1a9aSPaul Mundt	  "Area6" will work for most boards.
854ea0e1a9aSPaul Mundt
855ea0e1a9aSPaul Mundtconfig CF_AREA6
856ea0e1a9aSPaul Mundt	bool "Area6"
857ea0e1a9aSPaul Mundt
858ea0e1a9aSPaul Mundtendchoice
859ea0e1a9aSPaul Mundt
860ea0e1a9aSPaul Mundtconfig CF_BASE_ADDR
861ea0e1a9aSPaul Mundt	hex
862ea0e1a9aSPaul Mundt	depends on CF_ENABLER
863ea0e1a9aSPaul Mundt	default "0xb8000000" if CF_AREA6
864ea0e1a9aSPaul Mundt	default "0xb4000000" if CF_AREA5
865ea0e1a9aSPaul Mundt
866ea0e1a9aSPaul Mundtsource "arch/sh/drivers/pci/Kconfig"
867ea0e1a9aSPaul Mundt
868ea0e1a9aSPaul Mundtsource "drivers/pci/Kconfig"
869ea0e1a9aSPaul Mundt
870ea0e1a9aSPaul Mundtsource "drivers/pcmcia/Kconfig"
871ea0e1a9aSPaul Mundt
872ea0e1a9aSPaul Mundtsource "drivers/pci/hotplug/Kconfig"
873ea0e1a9aSPaul Mundt
874ea0e1a9aSPaul Mundtendmenu
875ea0e1a9aSPaul Mundt
876ea0e1a9aSPaul Mundtmenu "Executable file formats"
877ea0e1a9aSPaul Mundt
878ea0e1a9aSPaul Mundtsource "fs/Kconfig.binfmt"
879ea0e1a9aSPaul Mundt
880ea0e1a9aSPaul Mundtendmenu
881ea0e1a9aSPaul Mundt
882ea0e1a9aSPaul Mundtmenu "Power management options (EXPERIMENTAL)"
883ea0e1a9aSPaul Mundtdepends on EXPERIMENTAL && SYS_SUPPORTS_PM
884ea0e1a9aSPaul Mundt
885ea0e1a9aSPaul Mundtsource kernel/power/Kconfig
886ea0e1a9aSPaul Mundt
887ea0e1a9aSPaul Mundtendmenu
888ea0e1a9aSPaul Mundt
889ea0e1a9aSPaul Mundtsource "net/Kconfig"
890ea0e1a9aSPaul Mundt
891ea0e1a9aSPaul Mundtsource "drivers/Kconfig"
892ea0e1a9aSPaul Mundt
893ea0e1a9aSPaul Mundtsource "fs/Kconfig"
894ea0e1a9aSPaul Mundt
895ea0e1a9aSPaul Mundtsource "kernel/Kconfig.instrumentation"
896ea0e1a9aSPaul Mundt
897ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.debug"
898ea0e1a9aSPaul Mundt
899ea0e1a9aSPaul Mundtsource "security/Kconfig"
900ea0e1a9aSPaul Mundt
901ea0e1a9aSPaul Mundtsource "crypto/Kconfig"
902ea0e1a9aSPaul Mundt
903ea0e1a9aSPaul Mundtsource "lib/Kconfig"
904