xref: /openbmc/linux/arch/sh/Kconfig (revision da107c6e)
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
119483a578SDavid Brownell	select HAVE_CLK
12ec7748b5SSam Ravnborg	select HAVE_IDE
1342d4b839SMathieu Desnoyers	select HAVE_OPROFILE
149de90ac2SDmitry Baryshkov	select HAVE_GENERIC_DMA_COHERENT
1521944781SPaul Mundt	select HAVE_IOREMAP_PROT if MMU
16d7b01f78SPaul Mundt	select HAVE_ARCH_TRACEHOOK
17f802d969SPaul Mundt	select HAVE_DMA_API_DEBUG
18ea0e1a9aSPaul Mundt	help
19ea0e1a9aSPaul Mundt	  The SuperH is a RISC processor targeted for use in embedded systems
20ea0e1a9aSPaul Mundt	  and consumer electronics; it was also used in the Sega Dreamcast
21ea0e1a9aSPaul Mundt	  gaming console.  The SuperH port has a home page at
22ea0e1a9aSPaul Mundt	  <http://www.linux-sh.org/>.
23ea0e1a9aSPaul Mundt
24ea0e1a9aSPaul Mundtconfig SUPERH32
253cc000b5SPaul Mundt	def_bool ARCH = "sh"
26d39f5450SChris Smith	select HAVE_KPROBES
27d39f5450SChris Smith	select HAVE_KRETPROBES
28694f94f2SPaul Mundt	select HAVE_FUNCTION_TRACER
29fad57febSMatt Fleming	select HAVE_FTRACE_MCOUNT_RECORD
30fad57febSMatt Fleming	select HAVE_DYNAMIC_FTRACE
31ab6e570bSPaul Mundt	select HAVE_ARCH_KGDB
328dafc346SPaul Mundt	select ARCH_HIBERNATION_POSSIBLE if MMU
3347c8a08bSPaul Mundt	select RTC_LIB
34ea0e1a9aSPaul Mundt
35ea0e1a9aSPaul Mundtconfig SUPERH64
363cc000b5SPaul Mundt	def_bool ARCH = "sh64"
37ea0e1a9aSPaul Mundt
38f42b7e3dSPaul Mundtconfig ARCH_DEFCONFIG
39f42b7e3dSPaul Mundt	string
40f42b7e3dSPaul Mundt	default "arch/sh/configs/shx3_defconfig" if SUPERH32
41f42b7e3dSPaul Mundt	default "arch/sh/configs/cayman_defconfig" if SUPERH64
42f42b7e3dSPaul Mundt
43ea0e1a9aSPaul Mundtconfig RWSEM_GENERIC_SPINLOCK
44d7ef4fb3SHarvey Harrison	def_bool y
45ea0e1a9aSPaul Mundt
46ea0e1a9aSPaul Mundtconfig RWSEM_XCHGADD_ALGORITHM
47ea0e1a9aSPaul Mundt	bool
48ea0e1a9aSPaul Mundt
49ea0e1a9aSPaul Mundtconfig GENERIC_BUG
50ea0e1a9aSPaul Mundt	def_bool y
51a82d53ecSPaul Mundt	depends on BUG && SUPERH32
52ea0e1a9aSPaul Mundt
53ea0e1a9aSPaul Mundtconfig GENERIC_FIND_NEXT_BIT
54d7ef4fb3SHarvey Harrison	def_bool y
55ea0e1a9aSPaul Mundt
56ea0e1a9aSPaul Mundtconfig GENERIC_HWEIGHT
57d7ef4fb3SHarvey Harrison	def_bool y
58ea0e1a9aSPaul Mundt
59ea0e1a9aSPaul Mundtconfig GENERIC_HARDIRQS
60d7ef4fb3SHarvey Harrison	def_bool y
61ea0e1a9aSPaul Mundt
625093c9a4SPaul Mundtconfig GENERIC_HARDIRQS_NO__DO_IRQ
635093c9a4SPaul Mundt	def_bool y
645093c9a4SPaul Mundt
65ea0e1a9aSPaul Mundtconfig GENERIC_IRQ_PROBE
66d7ef4fb3SHarvey Harrison	def_bool y
67ea0e1a9aSPaul Mundt
682967dab1SMagnus Dammconfig GENERIC_GPIO
692967dab1SMagnus Damm	def_bool n
702967dab1SMagnus Damm
71ea0e1a9aSPaul Mundtconfig GENERIC_CALIBRATE_DELAY
72cf204fa7SPaul Mundt	bool
73ea0e1a9aSPaul Mundt
74ea0e1a9aSPaul Mundtconfig GENERIC_IOMAP
75ea0e1a9aSPaul Mundt	bool
76ea0e1a9aSPaul Mundt
77ea0e1a9aSPaul Mundtconfig GENERIC_TIME
7875634311Sjohn stultz	def_bool y
79ea0e1a9aSPaul Mundt
80ea0e1a9aSPaul Mundtconfig GENERIC_CLOCKEVENTS
81ea0e1a9aSPaul Mundt	def_bool n
82ea0e1a9aSPaul Mundt
838c24594dSPaul Mundtconfig GENERIC_CLOCKEVENTS_BROADCAST
848c24594dSPaul Mundt	bool
858c24594dSPaul Mundt
86bdcab87bSPaul Mundtconfig GENERIC_LOCKBREAK
87bdcab87bSPaul Mundt	def_bool y
88bdcab87bSPaul Mundt	depends on SMP && PREEMPT
89bdcab87bSPaul Mundt
90ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PM
91ea0e1a9aSPaul Mundt	bool
92af998a9aSMagnus Damm	depends on !SMP
93af998a9aSMagnus Damm
94af998a9aSMagnus Dammconfig ARCH_SUSPEND_POSSIBLE
95af998a9aSMagnus Damm	def_bool n
96af998a9aSMagnus Damm
97af998a9aSMagnus Dammconfig ARCH_HIBERNATION_POSSIBLE
98af998a9aSMagnus Damm	def_bool n
99ea0e1a9aSPaul Mundt
100ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_APM_EMULATION
101ea0e1a9aSPaul Mundt	bool
102af998a9aSMagnus Damm	select ARCH_SUSPEND_POSSIBLE
103ea0e1a9aSPaul Mundt
104ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_SMP
105ea0e1a9aSPaul Mundt	bool
106ea0e1a9aSPaul Mundt
107ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_NUMA
108ea0e1a9aSPaul Mundt	bool
109ea0e1a9aSPaul Mundt
110ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PCI
111ea0e1a9aSPaul Mundt	bool
112ea0e1a9aSPaul Mundt
113f5ad881bSPaul Mundtconfig SYS_SUPPORTS_CMT
114f5ad881bSPaul Mundt	bool
115f5ad881bSPaul Mundt
116d5ed4c2eSMagnus Dammconfig SYS_SUPPORTS_MTU2
117d5ed4c2eSMagnus Damm	bool
118d5ed4c2eSMagnus Damm
119ea0e1a9aSPaul Mundtconfig STACKTRACE_SUPPORT
120d7ef4fb3SHarvey Harrison	def_bool y
121ea0e1a9aSPaul Mundt
122ea0e1a9aSPaul Mundtconfig LOCKDEP_SUPPORT
123d7ef4fb3SHarvey Harrison	def_bool y
124ea0e1a9aSPaul Mundt
1255a89f1adSPaul Mundtconfig HAVE_LATENCYTOP_SUPPORT
1265a89f1adSPaul Mundt	def_bool y
1275a89f1adSPaul Mundt	depends on !SMP
1285a89f1adSPaul Mundt
129ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U32
130d7ef4fb3SHarvey Harrison	def_bool n
131ea0e1a9aSPaul Mundt
132ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U64
133d7ef4fb3SHarvey Harrison	def_bool n
134ea0e1a9aSPaul Mundt
135ea0e1a9aSPaul Mundtconfig ARCH_NO_VIRT_TO_BUS
136ea0e1a9aSPaul Mundt	def_bool y
137ea0e1a9aSPaul Mundt
138e869a90eSPaul Mundtconfig ARCH_HAS_DEFAULT_IDLE
139e869a90eSPaul Mundt	def_bool y
140e869a90eSPaul Mundt
141e7cc9a73SMagnus Dammconfig IO_TRAPPED
142e7cc9a73SMagnus Damm	bool
143e7cc9a73SMagnus Damm
144ea0e1a9aSPaul Mundtsource "init/Kconfig"
145ea0e1a9aSPaul Mundt
146dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
147dc52ddc0SMatt Helsley
148ea0e1a9aSPaul Mundtmenu "System type"
149ea0e1a9aSPaul Mundt
150ea0e1a9aSPaul Mundt#
151ea0e1a9aSPaul Mundt# Processor families
152ea0e1a9aSPaul Mundt#
153ea0e1a9aSPaul Mundtconfig CPU_SH2
154ea0e1a9aSPaul Mundt	bool
155ea0e1a9aSPaul Mundt
156ea0e1a9aSPaul Mundtconfig CPU_SH2A
157ea0e1a9aSPaul Mundt	bool
158ea0e1a9aSPaul Mundt	select CPU_SH2
159ea0e1a9aSPaul Mundt
160ea0e1a9aSPaul Mundtconfig CPU_SH3
161ea0e1a9aSPaul Mundt	bool
162ea0e1a9aSPaul Mundt	select CPU_HAS_INTEVT
163ea0e1a9aSPaul Mundt	select CPU_HAS_SR_RB
164ea0e1a9aSPaul Mundt
165ea0e1a9aSPaul Mundtconfig CPU_SH4
166ea0e1a9aSPaul Mundt	bool
167ea0e1a9aSPaul Mundt	select CPU_HAS_INTEVT
168ea0e1a9aSPaul Mundt	select CPU_HAS_SR_RB
169ea0e1a9aSPaul Mundt	select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
170ea0e1a9aSPaul Mundt	select CPU_HAS_FPU if !CPU_SH4AL_DSP
171ea0e1a9aSPaul Mundt
172ea0e1a9aSPaul Mundtconfig CPU_SH4A
173ea0e1a9aSPaul Mundt	bool
174ea0e1a9aSPaul Mundt	select CPU_SH4
175ea0e1a9aSPaul Mundt
176ea0e1a9aSPaul Mundtconfig CPU_SH4AL_DSP
177ea0e1a9aSPaul Mundt	bool
178ea0e1a9aSPaul Mundt	select CPU_SH4A
179ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
180ea0e1a9aSPaul Mundt
181ea0e1a9aSPaul Mundtconfig CPU_SH5
182ea0e1a9aSPaul Mundt	bool
183ea0e1a9aSPaul Mundt	select CPU_HAS_FPU
184ea0e1a9aSPaul Mundt
185ea0e1a9aSPaul Mundtconfig CPU_SHX2
186ea0e1a9aSPaul Mundt	bool
187ea0e1a9aSPaul Mundt
188ea0e1a9aSPaul Mundtconfig CPU_SHX3
189ea0e1a9aSPaul Mundt	bool
190ea0e1a9aSPaul Mundt
191dc65a977SPaul Mundtconfig ARCH_SHMOBILE
192dc65a977SPaul Mundt	bool
19377594912SMagnus Damm	select ARCH_SUSPEND_POSSIBLE
194dc65a977SPaul Mundt
1953cc000b5SPaul Mundtif SUPERH32
1963cc000b5SPaul Mundt
197ea0e1a9aSPaul Mundtchoice
198ea0e1a9aSPaul Mundt	prompt "Processor sub-type selection"
199ea0e1a9aSPaul Mundt
200ea0e1a9aSPaul Mundt#
201ea0e1a9aSPaul Mundt# Processor subtypes
202ea0e1a9aSPaul Mundt#
203ea0e1a9aSPaul Mundt
204ea0e1a9aSPaul Mundt# SH-2 Processor Support
205ea0e1a9aSPaul Mundt
206ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7619
207ea0e1a9aSPaul Mundt	bool "Support SH7619 processor"
208ea0e1a9aSPaul Mundt	select CPU_SH2
209f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
210ea0e1a9aSPaul Mundt
211ea0e1a9aSPaul Mundt# SH-2A Processor Support
212ea0e1a9aSPaul Mundt
2132825999eSPeter Griffinconfig CPU_SUBTYPE_SH7201
2142825999eSPeter Griffin	bool "Support SH7201 processor"
2152825999eSPeter Griffin	select CPU_SH2A
2162825999eSPeter Griffin	select CPU_HAS_FPU
217da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
2182825999eSPeter Griffin
2196d01f510SPaul Mundtconfig CPU_SUBTYPE_SH7203
2206d01f510SPaul Mundt	bool "Support SH7203 processor"
2216d01f510SPaul Mundt	select CPU_SH2A
22274d99a5eSPaul Mundt	select CPU_HAS_FPU
223f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
224da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
2256d01f510SPaul Mundt
226ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7206
227ea0e1a9aSPaul Mundt	bool "Support SH7206 processor"
228ea0e1a9aSPaul Mundt	select CPU_SH2A
229f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
230da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
231ea0e1a9aSPaul Mundt
232a8f67f4bSPaul Mundtconfig CPU_SUBTYPE_SH7263
233a8f67f4bSPaul Mundt	bool "Support SH7263 processor"
234a8f67f4bSPaul Mundt	select CPU_SH2A
23574d99a5eSPaul Mundt	select CPU_HAS_FPU
236f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
237da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
238a8f67f4bSPaul Mundt
2392ad69908SPaul Mundtconfig CPU_SUBTYPE_MXG
2402ad69908SPaul Mundt	bool "Support MX-G processor"
2412ad69908SPaul Mundt	select CPU_SH2A
242da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
2432ad69908SPaul Mundt	help
2442ad69908SPaul Mundt	  Select MX-G if running on an R8A03022BG part.
2452ad69908SPaul Mundt
246ea0e1a9aSPaul Mundt# SH-3 Processor Support
247ea0e1a9aSPaul Mundt
248ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7705
249ea0e1a9aSPaul Mundt	bool "Support SH7705 processor"
250ea0e1a9aSPaul Mundt	select CPU_SH3
251ea0e1a9aSPaul Mundt
252ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7706
253ea0e1a9aSPaul Mundt	bool "Support SH7706 processor"
254ea0e1a9aSPaul Mundt	select CPU_SH3
255ea0e1a9aSPaul Mundt	help
256ea0e1a9aSPaul Mundt	  Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
257ea0e1a9aSPaul Mundt
258ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7707
259ea0e1a9aSPaul Mundt	bool "Support SH7707 processor"
260ea0e1a9aSPaul Mundt	select CPU_SH3
261ea0e1a9aSPaul Mundt	help
262ea0e1a9aSPaul Mundt	  Select SH7707 if you have a  60 Mhz SH-3 HD6417707 CPU.
263ea0e1a9aSPaul Mundt
264ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7708
265ea0e1a9aSPaul Mundt	bool "Support SH7708 processor"
266ea0e1a9aSPaul Mundt	select CPU_SH3
267ea0e1a9aSPaul Mundt	help
268ea0e1a9aSPaul Mundt	  Select SH7708 if you have a  60 Mhz SH-3 HD6417708S or
269ea0e1a9aSPaul Mundt	  if you have a 100 Mhz SH-3 HD6417708R CPU.
270ea0e1a9aSPaul Mundt
271ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7709
272ea0e1a9aSPaul Mundt	bool "Support SH7709 processor"
273ea0e1a9aSPaul Mundt	select CPU_SH3
274ea0e1a9aSPaul Mundt	help
275ea0e1a9aSPaul Mundt	  Select SH7709 if you have a  80 Mhz SH-3 HD6417709 CPU.
276ea0e1a9aSPaul Mundt
277ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7710
278ea0e1a9aSPaul Mundt	bool "Support SH7710 processor"
279ea0e1a9aSPaul Mundt	select CPU_SH3
280ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
281ea0e1a9aSPaul Mundt	help
282ea0e1a9aSPaul Mundt	  Select SH7710 if you have a SH3-DSP SH7710 CPU.
283ea0e1a9aSPaul Mundt
284ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7712
285ea0e1a9aSPaul Mundt	bool "Support SH7712 processor"
286ea0e1a9aSPaul Mundt	select CPU_SH3
287ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
288ea0e1a9aSPaul Mundt	help
289ea0e1a9aSPaul Mundt	  Select SH7712 if you have a SH3-DSP SH7712 CPU.
290ea0e1a9aSPaul Mundt
291ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7720
292ea0e1a9aSPaul Mundt	bool "Support SH7720 processor"
293ea0e1a9aSPaul Mundt	select CPU_SH3
294ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
295ea0e1a9aSPaul Mundt	help
296ea0e1a9aSPaul Mundt	  Select SH7720 if you have a SH3-DSP SH7720 CPU.
297ea0e1a9aSPaul Mundt
29831a49c4bSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7721
29931a49c4bSYoshihiro Shimoda	bool "Support SH7721 processor"
30031a49c4bSYoshihiro Shimoda	select CPU_SH3
30131a49c4bSYoshihiro Shimoda	select CPU_HAS_DSP
30231a49c4bSYoshihiro Shimoda	help
30331a49c4bSYoshihiro Shimoda	  Select SH7721 if you have a SH3-DSP SH7721 CPU.
30431a49c4bSYoshihiro Shimoda
305ea0e1a9aSPaul Mundt# SH-4 Processor Support
306ea0e1a9aSPaul Mundt
307ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750
308ea0e1a9aSPaul Mundt	bool "Support SH7750 processor"
309ea0e1a9aSPaul Mundt	select CPU_SH4
310ea0e1a9aSPaul Mundt	help
311ea0e1a9aSPaul Mundt	  Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
312ea0e1a9aSPaul Mundt
313ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7091
314ea0e1a9aSPaul Mundt	bool "Support SH7091 processor"
315ea0e1a9aSPaul Mundt	select CPU_SH4
316ea0e1a9aSPaul Mundt	help
317ea0e1a9aSPaul Mundt	  Select SH7091 if you have an SH-4 based Sega device (such as
318ea0e1a9aSPaul Mundt	  the Dreamcast, Naomi, and Naomi 2).
319ea0e1a9aSPaul Mundt
320ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750R
321ea0e1a9aSPaul Mundt	bool "Support SH7750R processor"
322ea0e1a9aSPaul Mundt	select CPU_SH4
323ea0e1a9aSPaul Mundt
324ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750S
325ea0e1a9aSPaul Mundt	bool "Support SH7750S processor"
326ea0e1a9aSPaul Mundt	select CPU_SH4
327ea0e1a9aSPaul Mundt
328ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751
329ea0e1a9aSPaul Mundt	bool "Support SH7751 processor"
330ea0e1a9aSPaul Mundt	select CPU_SH4
331ea0e1a9aSPaul Mundt	help
332ea0e1a9aSPaul Mundt	  Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
333ea0e1a9aSPaul Mundt	  or if you have a HD6417751R CPU.
334ea0e1a9aSPaul Mundt
335ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751R
336ea0e1a9aSPaul Mundt	bool "Support SH7751R processor"
337ea0e1a9aSPaul Mundt	select CPU_SH4
338ea0e1a9aSPaul Mundt
339ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7760
340ea0e1a9aSPaul Mundt	bool "Support SH7760 processor"
341ea0e1a9aSPaul Mundt	select CPU_SH4
342ea0e1a9aSPaul Mundt
343ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH4_202
344ea0e1a9aSPaul Mundt	bool "Support SH4-202 processor"
345ea0e1a9aSPaul Mundt	select CPU_SH4
346ea0e1a9aSPaul Mundt
347ea0e1a9aSPaul Mundt# SH-4A Processor Support
348ea0e1a9aSPaul Mundt
349178dd0cdSPaul Mundtconfig CPU_SUBTYPE_SH7723
350178dd0cdSPaul Mundt	bool "Support SH7723 processor"
351178dd0cdSPaul Mundt	select CPU_SH4A
352178dd0cdSPaul Mundt	select CPU_SHX2
353dc65a977SPaul Mundt	select ARCH_SHMOBILE
354178dd0cdSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
355f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
356178dd0cdSPaul Mundt	help
357178dd0cdSPaul Mundt	  Select SH7723 if you have an SH-MobileR2 CPU.
358178dd0cdSPaul Mundt
3590207a2efSKuninori Morimotoconfig CPU_SUBTYPE_SH7724
3600207a2efSKuninori Morimoto	bool "Support SH7724 processor"
3610207a2efSKuninori Morimoto	select CPU_SH4A
3620207a2efSKuninori Morimoto	select CPU_SHX2
36359fe700dSPaul Mundt	select ARCH_SHMOBILE
3640207a2efSKuninori Morimoto	select ARCH_SPARSEMEM_ENABLE
3650207a2efSKuninori Morimoto	select SYS_SUPPORTS_CMT
3660207a2efSKuninori Morimoto	help
3670207a2efSKuninori Morimoto	  Select SH7724 if you have an SH-MobileR2R CPU.
3680207a2efSKuninori Morimoto
3697d740a06SYoshihiro Shimodaconfig CPU_SUBTYPE_SH7763
3707d740a06SYoshihiro Shimoda	bool "Support SH7763 processor"
3717d740a06SYoshihiro Shimoda	select CPU_SH4A
3727d740a06SYoshihiro Shimoda	help
3737d740a06SYoshihiro Shimoda	  Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
3747d740a06SYoshihiro Shimoda
375ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7770
376ea0e1a9aSPaul Mundt	bool "Support SH7770 processor"
377ea0e1a9aSPaul Mundt	select CPU_SH4A
378ea0e1a9aSPaul Mundt
379ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7780
380ea0e1a9aSPaul Mundt	bool "Support SH7780 processor"
381ea0e1a9aSPaul Mundt	select CPU_SH4A
382ea0e1a9aSPaul Mundt
383ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7785
384ea0e1a9aSPaul Mundt	bool "Support SH7785 processor"
385ea0e1a9aSPaul Mundt	select CPU_SH4A
386ea0e1a9aSPaul Mundt	select CPU_SHX2
387ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
388ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
389ea0e1a9aSPaul Mundt
39055ba99ebSKuninori Morimotoconfig CPU_SUBTYPE_SH7786
39155ba99ebSKuninori Morimoto	bool "Support SH7786 processor"
39255ba99ebSKuninori Morimoto	select CPU_SH4A
39337042fbdSPaul Mundt	select CPU_SHX3
3948263a67eSPaul Mundt	select CPU_HAS_PTEAEX
39555ba99ebSKuninori Morimoto	select ARCH_SPARSEMEM_ENABLE
39655ba99ebSKuninori Morimoto	select SYS_SUPPORTS_NUMA
39755ba99ebSKuninori Morimoto
398ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SHX3
399ea0e1a9aSPaul Mundt	bool "Support SH-X3 processor"
400ea0e1a9aSPaul Mundt	select CPU_SH4A
401ea0e1a9aSPaul Mundt	select CPU_SHX3
402ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
403ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
404ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_SMP
4055840263eSPaul Mundt	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
406ea0e1a9aSPaul Mundt
407ea0e1a9aSPaul Mundt# SH4AL-DSP Processor Support
408ea0e1a9aSPaul Mundt
409ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7343
410ea0e1a9aSPaul Mundt	bool "Support SH7343 processor"
411ea0e1a9aSPaul Mundt	select CPU_SH4AL_DSP
412dc65a977SPaul Mundt	select ARCH_SHMOBILE
413f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
414ea0e1a9aSPaul Mundt
415ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7722
416ea0e1a9aSPaul Mundt	bool "Support SH7722 processor"
417ea0e1a9aSPaul Mundt	select CPU_SH4AL_DSP
418ea0e1a9aSPaul Mundt	select CPU_SHX2
419dc65a977SPaul Mundt	select ARCH_SHMOBILE
420ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
421ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
422f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
423ea0e1a9aSPaul Mundt
4249109a30eSMagnus Dammconfig CPU_SUBTYPE_SH7366
4259109a30eSMagnus Damm	bool "Support SH7366 processor"
4269109a30eSMagnus Damm	select CPU_SH4AL_DSP
4279109a30eSMagnus Damm	select CPU_SHX2
428dc65a977SPaul Mundt	select ARCH_SHMOBILE
4299109a30eSMagnus Damm	select ARCH_SPARSEMEM_ENABLE
4309109a30eSMagnus Damm	select SYS_SUPPORTS_NUMA
431f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
4329109a30eSMagnus Damm
4333cc000b5SPaul Mundtendchoice
4343cc000b5SPaul Mundt
4353cc000b5SPaul Mundtendif
4363cc000b5SPaul Mundt
4373cc000b5SPaul Mundtif SUPERH64
4383cc000b5SPaul Mundt
4393cc000b5SPaul Mundtchoice
4403cc000b5SPaul Mundt	prompt "Processor sub-type selection"
4413cc000b5SPaul Mundt
442ea0e1a9aSPaul Mundt# SH-5 Processor Support
443ea0e1a9aSPaul Mundt
444ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_101
445ea0e1a9aSPaul Mundt	bool "Support SH5-101 processor"
446ea0e1a9aSPaul Mundt	select CPU_SH5
447ea0e1a9aSPaul Mundt
448ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_103
449ea0e1a9aSPaul Mundt	bool "Support SH5-103 processor"
4508ef97dd7SPaul Mundt	select CPU_SH5
451ea0e1a9aSPaul Mundt
452ea0e1a9aSPaul Mundtendchoice
453ea0e1a9aSPaul Mundt
4543cc000b5SPaul Mundtendif
4553cc000b5SPaul Mundt
456ea0e1a9aSPaul Mundtsource "arch/sh/mm/Kconfig"
457939a24a6SPaul Mundt
458ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.cpu"
459ea0e1a9aSPaul Mundt
460939a24a6SPaul Mundtsource "arch/sh/boards/Kconfig"
461ea0e1a9aSPaul Mundt
462ea0e1a9aSPaul Mundtmenu "Timer and clock configuration"
463ea0e1a9aSPaul Mundt
464ea0e1a9aSPaul Mundtconfig SH_TMU
465f5ad881bSPaul Mundt	bool "TMU timer support"
466ea0e1a9aSPaul Mundt	depends on CPU_SH3 || CPU_SH4
467f5ad881bSPaul Mundt	default y
468ea0e1a9aSPaul Mundt	select GENERIC_TIME
469ea0e1a9aSPaul Mundt	select GENERIC_CLOCKEVENTS
470ea0e1a9aSPaul Mundt	help
471ea0e1a9aSPaul Mundt	  This enables the use of the TMU as the system timer.
472ea0e1a9aSPaul Mundt
473f5ad881bSPaul Mundtconfig SH_TIMER_CMT
474f425752fSMagnus Damm	bool "CMT timer driver"
475f425752fSMagnus Damm	depends on SYS_SUPPORTS_CMT
476f425752fSMagnus Damm	default y
477f5ad881bSPaul Mundt	select GENERIC_CLOCKEVENTS
4785be7c0a4SPaul Mundt	select GENERIC_TIME
479f425752fSMagnus Damm	help
480f425752fSMagnus Damm	  This enables build of the CMT timer driver.
481f5ad881bSPaul Mundt
482ea0e1a9aSPaul Mundtconfig SH_MTU2
483f5ad881bSPaul Mundt	bool "MTU2 timer support"
4845be7c0a4SPaul Mundt	depends on CPU_SH2A && !GENERIC_TIME
485f5ad881bSPaul Mundt	default y
486ea0e1a9aSPaul Mundt	help
487ea0e1a9aSPaul Mundt	  This enables the use of the MTU2 as the system timer.
488ea0e1a9aSPaul Mundt
489d5ed4c2eSMagnus Dammconfig SH_TIMER_MTU2
490d5ed4c2eSMagnus Damm	bool "MTU2 timer driver"
491d5ed4c2eSMagnus Damm	depends on SYS_SUPPORTS_MTU2 && !SH_MTU2
492d5ed4c2eSMagnus Damm	default y
493d5ed4c2eSMagnus Damm	select GENERIC_CLOCKEVENTS
494d5ed4c2eSMagnus Damm	help
495d5ed4c2eSMagnus Damm	  This enables build of the MTU2 timer driver.
496d5ed4c2eSMagnus Damm
497ea0e1a9aSPaul Mundtconfig SH_TIMER_IRQ
498ea0e1a9aSPaul Mundt	int
4997d740a06SYoshihiro Shimoda	default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
5007d740a06SYoshihiro Shimoda			CPU_SUBTYPE_SH7763
501ea0e1a9aSPaul Mundt	default "86" if CPU_SUBTYPE_SH7619
502ea0e1a9aSPaul Mundt	default "140" if CPU_SUBTYPE_SH7206
503d63f3a58SPaul Mundt	default "142" if CPU_SUBTYPE_SH7203 && SH_CMT
504d63f3a58SPaul Mundt	default "153" if CPU_SUBTYPE_SH7203 && SH_MTU2
5052ad69908SPaul Mundt	default "238" if CPU_SUBTYPE_MXG
506ea0e1a9aSPaul Mundt	default "16"
507ea0e1a9aSPaul Mundt
508ea0e1a9aSPaul Mundtconfig SH_PCLK_FREQ
509ea0e1a9aSPaul Mundt	int "Peripheral clock frequency (in Hz)"
510ea0e1a9aSPaul Mundt	default "27000000" if CPU_SUBTYPE_SH7343
511ea0e1a9aSPaul Mundt	default "31250000" if CPU_SUBTYPE_SH7619
512ea0e1a9aSPaul Mundt	default "32000000" if CPU_SUBTYPE_SH7722
513178dd0cdSPaul Mundt	default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
514ea0e1a9aSPaul Mundt			      CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
515a8f67f4bSPaul Mundt			      CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
516a4b1fddcSPaul Mundt			      CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG    || \
517a4b1fddcSPaul Mundt			      CPU_SUBTYPE_SH7786
5180207a2efSKuninori Morimoto	default "41666666" if CPU_SUBTYPE_SH7724
519ea0e1a9aSPaul Mundt	default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
520ea0e1a9aSPaul Mundt	default "66000000" if CPU_SUBTYPE_SH4_202
521ea0e1a9aSPaul Mundt	default "50000000"
522ea0e1a9aSPaul Mundt	help
523ea0e1a9aSPaul Mundt	  This option is used to specify the peripheral clock frequency.
524ea0e1a9aSPaul Mundt	  This is necessary for determining the reference clock value on
525ea0e1a9aSPaul Mundt	  platforms lacking an RTC.
526ea0e1a9aSPaul Mundt
527ea0e1a9aSPaul Mundtconfig SH_CLK_MD
528ea0e1a9aSPaul Mundt	int "CPU Mode Pin Setting"
5296d01f510SPaul Mundt	depends on CPU_SH2
530ea0e1a9aSPaul Mundt	default 6 if CPU_SUBTYPE_SH7206
531ea0e1a9aSPaul Mundt	default 5 if CPU_SUBTYPE_SH7619
532ea0e1a9aSPaul Mundt	default 0
533ea0e1a9aSPaul Mundt	help
534ea0e1a9aSPaul Mundt	  MD2 - MD0 pin setting.
535ea0e1a9aSPaul Mundt
536ea0e1a9aSPaul Mundtsource "kernel/time/Kconfig"
537ea0e1a9aSPaul Mundt
538ea0e1a9aSPaul Mundtendmenu
539ea0e1a9aSPaul Mundt
540ea0e1a9aSPaul Mundtmenu "CPU Frequency scaling"
541ea0e1a9aSPaul Mundt
542ea0e1a9aSPaul Mundtsource "drivers/cpufreq/Kconfig"
543ea0e1a9aSPaul Mundt
544ea0e1a9aSPaul Mundtconfig SH_CPU_FREQ
545ea0e1a9aSPaul Mundt	tristate "SuperH CPU Frequency driver"
546ea0e1a9aSPaul Mundt	depends on CPU_FREQ
547ea0e1a9aSPaul Mundt	select CPU_FREQ_TABLE
548ea0e1a9aSPaul Mundt	help
5498a655053SPaul Mundt	  This adds the cpufreq driver for SuperH. Any CPU that supports
5508a655053SPaul Mundt	  clock rate rounding through the clock framework can use this
5518a655053SPaul Mundt	  driver. While it will make the kernel slightly larger, this is
5528a655053SPaul Mundt	  harmless for CPUs that don't support rate rounding. The driver
5538a655053SPaul Mundt	  will also generate a notice in the boot log before disabling
5548a655053SPaul Mundt	  itself if the CPU in question is not capable of rate rounding.
555ea0e1a9aSPaul Mundt
556ea0e1a9aSPaul Mundt	  For details, take a look at <file:Documentation/cpu-freq>.
557ea0e1a9aSPaul Mundt
558ea0e1a9aSPaul Mundt	  If unsure, say N.
559ea0e1a9aSPaul Mundt
560ea0e1a9aSPaul Mundtendmenu
561ea0e1a9aSPaul Mundt
562ea0e1a9aSPaul Mundtsource "arch/sh/drivers/Kconfig"
563ea0e1a9aSPaul Mundt
564ea0e1a9aSPaul Mundtendmenu
565ea0e1a9aSPaul Mundt
566ea0e1a9aSPaul Mundtmenu "Kernel features"
567ea0e1a9aSPaul Mundt
568ea0e1a9aSPaul Mundtsource kernel/Kconfig.hz
569ea0e1a9aSPaul Mundt
570ea0e1a9aSPaul Mundtconfig KEXEC
571ea0e1a9aSPaul Mundt	bool "kexec system call (EXPERIMENTAL)"
572f36b59d1SNobuhiro Iwamatsu	depends on SUPERH32 && EXPERIMENTAL && MMU
573ea0e1a9aSPaul Mundt	help
574ea0e1a9aSPaul Mundt	  kexec is a system call that implements the ability to shutdown your
575ea0e1a9aSPaul Mundt	  current kernel, and to start another kernel.  It is like a reboot
576ea0e1a9aSPaul Mundt	  but it is independent of the system firmware.  And like a reboot
577ea0e1a9aSPaul Mundt	  you can start any kernel with it, not just Linux.
578ea0e1a9aSPaul Mundt
579ea0e1a9aSPaul Mundt	  The name comes from the similarity to the exec system call.
580ea0e1a9aSPaul Mundt
581ea0e1a9aSPaul Mundt	  It is an ongoing process to be certain the hardware in a machine
582ea0e1a9aSPaul Mundt	  is properly shutdown, so do not be surprised if this code does not
583ea0e1a9aSPaul Mundt	  initially work for you.  It may help to enable device hotplugging
584ea0e1a9aSPaul Mundt	  support.  As of this writing the exact hardware interface is
585ea0e1a9aSPaul Mundt	  strongly in flux, so no good recommendation can be made.
586ea0e1a9aSPaul Mundt
587ea0e1a9aSPaul Mundtconfig CRASH_DUMP
588ea0e1a9aSPaul Mundt	bool "kernel crash dumps (EXPERIMENTAL)"
589640f7487SPaul Mundt	depends on SUPERH32 && EXPERIMENTAL
590ea0e1a9aSPaul Mundt	help
591ea0e1a9aSPaul Mundt	  Generate crash dump after being started by kexec.
592ea0e1a9aSPaul Mundt	  This should be normally only set in special crash dump kernels
593ea0e1a9aSPaul Mundt	  which are loaded in the main kernel with kexec-tools into
594ea0e1a9aSPaul Mundt	  a specially reserved region and then later executed after
595ea0e1a9aSPaul Mundt	  a crash by kdump/kexec. The crash dump kernel must be compiled
596ea0e1a9aSPaul Mundt	  to a memory address not used by the main kernel using
597ea0e1a9aSPaul Mundt	  MEMORY_START.
598ea0e1a9aSPaul Mundt
599ea0e1a9aSPaul Mundt	  For more details see Documentation/kdump/kdump.txt
600ea0e1a9aSPaul Mundt
601b7cf6ddcSMagnus Dammconfig KEXEC_JUMP
602b7cf6ddcSMagnus Damm	bool "kexec jump (EXPERIMENTAL)"
603b7cf6ddcSMagnus Damm	depends on SUPERH32 && KEXEC && HIBERNATION && EXPERIMENTAL
604b7cf6ddcSMagnus Damm	help
605b7cf6ddcSMagnus Damm	  Jump between original kernel and kexeced kernel and invoke
606b7cf6ddcSMagnus Damm	  code via KEXEC
607b7cf6ddcSMagnus Damm
608c4637d47SPaul Mundtconfig SECCOMP
609c4637d47SPaul Mundt	bool "Enable seccomp to safely compute untrusted bytecode"
610c4637d47SPaul Mundt	depends on PROC_FS
611c4637d47SPaul Mundt	help
612c4637d47SPaul Mundt	  This kernel feature is useful for number crunching applications
613c4637d47SPaul Mundt	  that may need to compute untrusted bytecode during their
614c4637d47SPaul Mundt	  execution. By using pipes or other transports made available to
615c4637d47SPaul Mundt	  the process as file descriptors supporting the read/write
616c4637d47SPaul Mundt	  syscalls, it's possible to isolate those applications in
617c4637d47SPaul Mundt	  their own address space using seccomp. Once seccomp is
618c4637d47SPaul Mundt	  enabled via prctl, it cannot be disabled and the task is only
619c4637d47SPaul Mundt	  allowed to execute a few safe syscalls defined by each seccomp
620c4637d47SPaul Mundt	  mode.
621c4637d47SPaul Mundt
622c4637d47SPaul Mundt	  If unsure, say N.
623c4637d47SPaul Mundt
624ea0e1a9aSPaul Mundtconfig SMP
625ea0e1a9aSPaul Mundt	bool "Symmetric multi-processing support"
626ea0e1a9aSPaul Mundt	depends on SYS_SUPPORTS_SMP
627490f5de5SJens Axboe	select USE_GENERIC_SMP_HELPERS
628ea0e1a9aSPaul Mundt	---help---
629ea0e1a9aSPaul Mundt	  This enables support for systems with more than one CPU. If you have
630ea0e1a9aSPaul Mundt	  a system with only one CPU, like most personal computers, say N. If
631ea0e1a9aSPaul Mundt	  you have a system with more than one CPU, say Y.
632ea0e1a9aSPaul Mundt
633ea0e1a9aSPaul Mundt	  If you say N here, the kernel will run on single and multiprocessor
634ea0e1a9aSPaul Mundt	  machines, but will use only one CPU of a multiprocessor machine. If
635ea0e1a9aSPaul Mundt	  you say Y here, the kernel will run on many, but not all,
636ea0e1a9aSPaul Mundt	  singleprocessor machines. On a singleprocessor machine, the kernel
637ea0e1a9aSPaul Mundt	  will run faster if you say N here.
638ea0e1a9aSPaul Mundt
639ea0e1a9aSPaul Mundt	  People using multiprocessor machines who say Y here should also say
640ea0e1a9aSPaul Mundt	  Y to "Enhanced Real Time Clock Support", below.
641ea0e1a9aSPaul Mundt
64203502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
64303502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
644ea0e1a9aSPaul Mundt
645ea0e1a9aSPaul Mundt	  If you don't know what to do here, say N.
646ea0e1a9aSPaul Mundt
647ea0e1a9aSPaul Mundtconfig NR_CPUS
648ea0e1a9aSPaul Mundt	int "Maximum number of CPUs (2-32)"
649ea0e1a9aSPaul Mundt	range 2 32
650ea0e1a9aSPaul Mundt	depends on SMP
651ea0e1a9aSPaul Mundt	default "4" if CPU_SHX3
652ea0e1a9aSPaul Mundt	default "2"
653ea0e1a9aSPaul Mundt	help
654ea0e1a9aSPaul Mundt	  This allows you to specify the maximum number of CPUs which this
655ea0e1a9aSPaul Mundt	  kernel will support.  The maximum supported value is 32 and the
656ea0e1a9aSPaul Mundt	  minimum value which makes sense is 2.
657ea0e1a9aSPaul Mundt
658ea0e1a9aSPaul Mundt	  This is purely to save memory - each supported CPU adds
659ea0e1a9aSPaul Mundt	  approximately eight kilobytes to the kernel image.
660ea0e1a9aSPaul Mundt
661ea0e1a9aSPaul Mundtsource "kernel/Kconfig.preempt"
662ea0e1a9aSPaul Mundt
663ea0e1a9aSPaul Mundtconfig GUSA
664ea0e1a9aSPaul Mundt	def_bool y
6651efe4ce3SStuart Menefy	depends on !SMP && SUPERH32
666ea0e1a9aSPaul Mundt	help
667ea0e1a9aSPaul Mundt	  This enables support for gUSA (general UserSpace Atomicity).
668ea0e1a9aSPaul Mundt	  This is the default implementation for both UP and non-ll/sc
669ea0e1a9aSPaul Mundt	  CPUs, and is used by the libc, amongst others.
670ea0e1a9aSPaul Mundt
671ea0e1a9aSPaul Mundt	  For additional information, design information can be found
672ea0e1a9aSPaul Mundt	  in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
673ea0e1a9aSPaul Mundt
674ea0e1a9aSPaul Mundt	  This should only be disabled for special cases where alternate
675ea0e1a9aSPaul Mundt	  atomicity implementations exist.
676ea0e1a9aSPaul Mundt
6771efe4ce3SStuart Menefyconfig GUSA_RB
6781efe4ce3SStuart Menefy	bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
6791efe4ce3SStuart Menefy	depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
6801efe4ce3SStuart Menefy	help
6811efe4ce3SStuart Menefy	  Enabling this option will allow the kernel to implement some
682692105b8SMatt LaPlante	  atomic operations using a software implementation of load-locked/
6831efe4ce3SStuart Menefy	  store-conditional (LLSC). On machines which do not have hardware
6841efe4ce3SStuart Menefy	  LLSC, this should be more efficient than the other alternative of
685692105b8SMatt LaPlante	  disabling interrupts around the atomic sequence.
6861efe4ce3SStuart Menefy
687ea0e1a9aSPaul Mundtendmenu
688ea0e1a9aSPaul Mundt
689ea0e1a9aSPaul Mundtmenu "Boot options"
690ea0e1a9aSPaul Mundt
691ea0e1a9aSPaul Mundtconfig ZERO_PAGE_OFFSET
692ea0e1a9aSPaul Mundt	hex "Zero page offset"
693f5f826c6SAdrian Bunk	default "0x00004000" if SH_SH03
694ea0e1a9aSPaul Mundt	default "0x00010000" if PAGE_SIZE_64KB
695ea0e1a9aSPaul Mundt	default "0x00002000" if PAGE_SIZE_8KB
696ea0e1a9aSPaul Mundt	default "0x00001000"
697ea0e1a9aSPaul Mundt	help
698ea0e1a9aSPaul Mundt	  This sets the default offset of zero page.
699ea0e1a9aSPaul Mundt
700ea0e1a9aSPaul Mundtconfig BOOT_LINK_OFFSET
701ea0e1a9aSPaul Mundt	hex "Link address offset for booting"
702ea0e1a9aSPaul Mundt	default "0x00800000"
703ea0e1a9aSPaul Mundt	help
704ea0e1a9aSPaul Mundt	  This option allows you to set the link address offset of the zImage.
705ea0e1a9aSPaul Mundt	  This can be useful if you are on a board which has a small amount of
706ea0e1a9aSPaul Mundt	  memory.
707ea0e1a9aSPaul Mundt
708ea0e1a9aSPaul Mundtconfig UBC_WAKEUP
709ea0e1a9aSPaul Mundt	bool "Wakeup UBC on startup"
710ea0e1a9aSPaul Mundt	depends on CPU_SH4 && !CPU_SH4A
711ea0e1a9aSPaul Mundt	help
712ea0e1a9aSPaul Mundt	  Selecting this option will wakeup the User Break Controller (UBC) on
713ea0e1a9aSPaul Mundt	  startup. Although the UBC is left in an awake state when the processor
714ea0e1a9aSPaul Mundt	  comes up, some boot loaders misbehave by putting the UBC to sleep in a
715ea0e1a9aSPaul Mundt	  power saving state, which causes issues with things like ptrace().
716ea0e1a9aSPaul Mundt
717ea0e1a9aSPaul Mundt	  If unsure, say N.
718ea0e1a9aSPaul Mundt
719ea0e1a9aSPaul Mundtconfig CMDLINE_BOOL
720ea0e1a9aSPaul Mundt	bool "Default bootloader kernel arguments"
721ea0e1a9aSPaul Mundt
722ea0e1a9aSPaul Mundtconfig CMDLINE
723ea0e1a9aSPaul Mundt	string "Initial kernel command string"
724ea0e1a9aSPaul Mundt	depends on CMDLINE_BOOL
725ea0e1a9aSPaul Mundt	default "console=ttySC1,115200"
726ea0e1a9aSPaul Mundt
727ea0e1a9aSPaul Mundtendmenu
728ea0e1a9aSPaul Mundt
729ea0e1a9aSPaul Mundtmenu "Bus options"
730ea0e1a9aSPaul Mundt
731ea0e1a9aSPaul Mundtconfig SUPERHYWAY
732ea0e1a9aSPaul Mundt	tristate "SuperHyway Bus support"
733ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH4_202
734ea0e1a9aSPaul Mundt
735ea0e1a9aSPaul Mundtconfig MAPLE
736ea0e1a9aSPaul Mundt	bool "Maple Bus support"
737ea0e1a9aSPaul Mundt	depends on SH_DREAMCAST
738ea0e1a9aSPaul Mundt	help
739ea0e1a9aSPaul Mundt	 The Maple Bus is SEGA's serial communication bus for peripherals
740ea0e1a9aSPaul Mundt	 on the Dreamcast. Without this bus support you won't be able to
741ea0e1a9aSPaul Mundt	 get your Dreamcast keyboard etc to work, so most users
742ea0e1a9aSPaul Mundt	 probably want to say 'Y' here, unless you are only using the
743ea0e1a9aSPaul Mundt	 Dreamcast with a serial line terminal or a remote network
744ea0e1a9aSPaul Mundt	 connection.
745ea0e1a9aSPaul Mundt
746ea0e1a9aSPaul Mundtsource "arch/sh/drivers/pci/Kconfig"
747ea0e1a9aSPaul Mundt
748e16038abSPaul Mundtsource "drivers/pci/pcie/Kconfig"
749e16038abSPaul Mundt
750ea0e1a9aSPaul Mundtsource "drivers/pci/Kconfig"
751ea0e1a9aSPaul Mundt
752ea0e1a9aSPaul Mundtsource "drivers/pcmcia/Kconfig"
753ea0e1a9aSPaul Mundt
754ea0e1a9aSPaul Mundtsource "drivers/pci/hotplug/Kconfig"
755ea0e1a9aSPaul Mundt
756ea0e1a9aSPaul Mundtendmenu
757ea0e1a9aSPaul Mundt
758ea0e1a9aSPaul Mundtmenu "Executable file formats"
759ea0e1a9aSPaul Mundt
760ea0e1a9aSPaul Mundtsource "fs/Kconfig.binfmt"
761ea0e1a9aSPaul Mundt
762ea0e1a9aSPaul Mundtendmenu
763ea0e1a9aSPaul Mundt
764ea0e1a9aSPaul Mundtmenu "Power management options (EXPERIMENTAL)"
765af998a9aSMagnus Dammdepends on EXPERIMENTAL
766f4cb5700SJohannes Berg
767c6f17cb2SMagnus Dammsource "kernel/power/Kconfig"
768c6f17cb2SMagnus Damm
769c6f17cb2SMagnus Dammsource "drivers/cpuidle/Kconfig"
770ea0e1a9aSPaul Mundt
771ea0e1a9aSPaul Mundtendmenu
772ea0e1a9aSPaul Mundt
773ea0e1a9aSPaul Mundtsource "net/Kconfig"
774ea0e1a9aSPaul Mundt
775ea0e1a9aSPaul Mundtsource "drivers/Kconfig"
776ea0e1a9aSPaul Mundt
777ea0e1a9aSPaul Mundtsource "fs/Kconfig"
778ea0e1a9aSPaul Mundt
779ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.debug"
780ea0e1a9aSPaul Mundt
781ea0e1a9aSPaul Mundtsource "security/Kconfig"
782ea0e1a9aSPaul Mundt
783ea0e1a9aSPaul Mundtsource "crypto/Kconfig"
784ea0e1a9aSPaul Mundt
785ea0e1a9aSPaul Mundtsource "lib/Kconfig"
786