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