xref: /openbmc/linux/arch/sh/Kconfig (revision 3767f3f1)
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
186eac1af0SPaul Mundt	select RTC_LIB
19ea0e1a9aSPaul Mundt	help
20ea0e1a9aSPaul Mundt	  The SuperH is a RISC processor targeted for use in embedded systems
21ea0e1a9aSPaul Mundt	  and consumer electronics; it was also used in the Sega Dreamcast
22ea0e1a9aSPaul Mundt	  gaming console.  The SuperH port has a home page at
23ea0e1a9aSPaul Mundt	  <http://www.linux-sh.org/>.
24ea0e1a9aSPaul Mundt
25ea0e1a9aSPaul Mundtconfig SUPERH32
263cc000b5SPaul Mundt	def_bool ARCH = "sh"
27d39f5450SChris Smith	select HAVE_KPROBES
28d39f5450SChris Smith	select HAVE_KRETPROBES
29694f94f2SPaul Mundt	select HAVE_FUNCTION_TRACER
30fad57febSMatt Fleming	select HAVE_FTRACE_MCOUNT_RECORD
31fad57febSMatt Fleming	select HAVE_DYNAMIC_FTRACE
32ab6e570bSPaul Mundt	select HAVE_ARCH_KGDB
338dafc346SPaul Mundt	select ARCH_HIBERNATION_POSSIBLE if MMU
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
533767f3f1SPaul Mundtconfig GENERIC_CSUM
543767f3f1SPaul Mundt	def_bool y
553767f3f1SPaul Mundt	depends on SUPERH64
563767f3f1SPaul Mundt
57ea0e1a9aSPaul Mundtconfig GENERIC_FIND_NEXT_BIT
58d7ef4fb3SHarvey Harrison	def_bool y
59ea0e1a9aSPaul Mundt
60ea0e1a9aSPaul Mundtconfig GENERIC_HWEIGHT
61d7ef4fb3SHarvey Harrison	def_bool y
62ea0e1a9aSPaul Mundt
63ea0e1a9aSPaul Mundtconfig GENERIC_HARDIRQS
64d7ef4fb3SHarvey Harrison	def_bool y
65ea0e1a9aSPaul Mundt
665093c9a4SPaul Mundtconfig GENERIC_HARDIRQS_NO__DO_IRQ
675093c9a4SPaul Mundt	def_bool y
685093c9a4SPaul Mundt
69ea0e1a9aSPaul Mundtconfig GENERIC_IRQ_PROBE
70d7ef4fb3SHarvey Harrison	def_bool y
71ea0e1a9aSPaul Mundt
722967dab1SMagnus Dammconfig GENERIC_GPIO
732967dab1SMagnus Damm	def_bool n
742967dab1SMagnus Damm
75ea0e1a9aSPaul Mundtconfig GENERIC_CALIBRATE_DELAY
76cf204fa7SPaul Mundt	bool
77ea0e1a9aSPaul Mundt
78ea0e1a9aSPaul Mundtconfig GENERIC_IOMAP
79ea0e1a9aSPaul Mundt	bool
80ea0e1a9aSPaul Mundt
81ea0e1a9aSPaul Mundtconfig GENERIC_TIME
8275634311Sjohn stultz	def_bool y
83ea0e1a9aSPaul Mundt
84ea0e1a9aSPaul Mundtconfig GENERIC_CLOCKEVENTS
85938edae1SPaul Mundt	def_bool y
86ea0e1a9aSPaul Mundt
878c24594dSPaul Mundtconfig GENERIC_CLOCKEVENTS_BROADCAST
888c24594dSPaul Mundt	bool
898c24594dSPaul Mundt
906d134b9eSPaul Mundtconfig GENERIC_CMOS_UPDATE
916d134b9eSPaul Mundt	def_bool y
926d134b9eSPaul Mundt	depends on SH_SH03 || SH_DREAMCAST
936d134b9eSPaul Mundt
94bdcab87bSPaul Mundtconfig GENERIC_LOCKBREAK
95bdcab87bSPaul Mundt	def_bool y
96bdcab87bSPaul Mundt	depends on SMP && PREEMPT
97bdcab87bSPaul Mundt
98ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PM
99ea0e1a9aSPaul Mundt	bool
100af998a9aSMagnus Damm	depends on !SMP
101af998a9aSMagnus Damm
102af998a9aSMagnus Dammconfig ARCH_SUSPEND_POSSIBLE
103af998a9aSMagnus Damm	def_bool n
104af998a9aSMagnus Damm
105af998a9aSMagnus Dammconfig ARCH_HIBERNATION_POSSIBLE
106af998a9aSMagnus Damm	def_bool n
107ea0e1a9aSPaul Mundt
108ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_APM_EMULATION
109ea0e1a9aSPaul Mundt	bool
110af998a9aSMagnus Damm	select ARCH_SUSPEND_POSSIBLE
111ea0e1a9aSPaul Mundt
112ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_SMP
113ea0e1a9aSPaul Mundt	bool
114ea0e1a9aSPaul Mundt
115ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_NUMA
116ea0e1a9aSPaul Mundt	bool
117ea0e1a9aSPaul Mundt
118ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PCI
119ea0e1a9aSPaul Mundt	bool
120ea0e1a9aSPaul Mundt
121f5ad881bSPaul Mundtconfig SYS_SUPPORTS_CMT
122f5ad881bSPaul Mundt	bool
123f5ad881bSPaul Mundt
124d5ed4c2eSMagnus Dammconfig SYS_SUPPORTS_MTU2
125d5ed4c2eSMagnus Damm	bool
126d5ed4c2eSMagnus Damm
1279570ef20SMagnus Dammconfig SYS_SUPPORTS_TMU
1289570ef20SMagnus Damm	bool
1299570ef20SMagnus Damm
130ea0e1a9aSPaul Mundtconfig STACKTRACE_SUPPORT
131d7ef4fb3SHarvey Harrison	def_bool y
132ea0e1a9aSPaul Mundt
133ea0e1a9aSPaul Mundtconfig LOCKDEP_SUPPORT
134d7ef4fb3SHarvey Harrison	def_bool y
135ea0e1a9aSPaul Mundt
1365a89f1adSPaul Mundtconfig HAVE_LATENCYTOP_SUPPORT
1375a89f1adSPaul Mundt	def_bool y
1385a89f1adSPaul Mundt	depends on !SMP
1395a89f1adSPaul Mundt
140ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U32
141d7ef4fb3SHarvey Harrison	def_bool n
142ea0e1a9aSPaul Mundt
143ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U64
144d7ef4fb3SHarvey Harrison	def_bool n
145ea0e1a9aSPaul Mundt
146ea0e1a9aSPaul Mundtconfig ARCH_NO_VIRT_TO_BUS
147ea0e1a9aSPaul Mundt	def_bool y
148ea0e1a9aSPaul Mundt
149e869a90eSPaul Mundtconfig ARCH_HAS_DEFAULT_IDLE
150e869a90eSPaul Mundt	def_bool y
151e869a90eSPaul Mundt
152e7cc9a73SMagnus Dammconfig IO_TRAPPED
153e7cc9a73SMagnus Damm	bool
154e7cc9a73SMagnus Damm
155ea0e1a9aSPaul Mundtsource "init/Kconfig"
156ea0e1a9aSPaul Mundt
157dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
158dc52ddc0SMatt Helsley
159ea0e1a9aSPaul Mundtmenu "System type"
160ea0e1a9aSPaul Mundt
161ea0e1a9aSPaul Mundt#
162ea0e1a9aSPaul Mundt# Processor families
163ea0e1a9aSPaul Mundt#
164ea0e1a9aSPaul Mundtconfig CPU_SH2
165ea0e1a9aSPaul Mundt	bool
166ea0e1a9aSPaul Mundt
167ea0e1a9aSPaul Mundtconfig CPU_SH2A
168ea0e1a9aSPaul Mundt	bool
169ea0e1a9aSPaul Mundt	select CPU_SH2
170ea0e1a9aSPaul Mundt
171ea0e1a9aSPaul Mundtconfig CPU_SH3
172ea0e1a9aSPaul Mundt	bool
173ea0e1a9aSPaul Mundt	select CPU_HAS_INTEVT
174ea0e1a9aSPaul Mundt	select CPU_HAS_SR_RB
1754fa48e17SPaul Mundt	select SYS_SUPPORTS_TMU
176ea0e1a9aSPaul Mundt
177ea0e1a9aSPaul Mundtconfig CPU_SH4
178ea0e1a9aSPaul Mundt	bool
179ea0e1a9aSPaul Mundt	select CPU_HAS_INTEVT
180ea0e1a9aSPaul Mundt	select CPU_HAS_SR_RB
181ea0e1a9aSPaul Mundt	select CPU_HAS_FPU if !CPU_SH4AL_DSP
1824fa48e17SPaul Mundt	select SYS_SUPPORTS_TMU
183ea0e1a9aSPaul Mundt
184ea0e1a9aSPaul Mundtconfig CPU_SH4A
185ea0e1a9aSPaul Mundt	bool
186ea0e1a9aSPaul Mundt	select CPU_SH4
187ea0e1a9aSPaul Mundt
188ea0e1a9aSPaul Mundtconfig CPU_SH4AL_DSP
189ea0e1a9aSPaul Mundt	bool
190ea0e1a9aSPaul Mundt	select CPU_SH4A
191ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
192ea0e1a9aSPaul Mundt
193ea0e1a9aSPaul Mundtconfig CPU_SH5
194ea0e1a9aSPaul Mundt	bool
195ea0e1a9aSPaul Mundt	select CPU_HAS_FPU
196add47067SPaul Mundt	select SYS_SUPPORTS_TMU
197ea0e1a9aSPaul Mundt
198ea0e1a9aSPaul Mundtconfig CPU_SHX2
199ea0e1a9aSPaul Mundt	bool
200ea0e1a9aSPaul Mundt
201ea0e1a9aSPaul Mundtconfig CPU_SHX3
202ea0e1a9aSPaul Mundt	bool
203ea0e1a9aSPaul Mundt
204dc65a977SPaul Mundtconfig ARCH_SHMOBILE
205dc65a977SPaul Mundt	bool
20677594912SMagnus Damm	select ARCH_SUSPEND_POSSIBLE
207dc65a977SPaul Mundt
2083cc000b5SPaul Mundtif SUPERH32
2093cc000b5SPaul Mundt
210ea0e1a9aSPaul Mundtchoice
211ea0e1a9aSPaul Mundt	prompt "Processor sub-type selection"
212ea0e1a9aSPaul Mundt
213ea0e1a9aSPaul Mundt#
214ea0e1a9aSPaul Mundt# Processor subtypes
215ea0e1a9aSPaul Mundt#
216ea0e1a9aSPaul Mundt
217ea0e1a9aSPaul Mundt# SH-2 Processor Support
218ea0e1a9aSPaul Mundt
219ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7619
220ea0e1a9aSPaul Mundt	bool "Support SH7619 processor"
221ea0e1a9aSPaul Mundt	select CPU_SH2
222f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
223ea0e1a9aSPaul Mundt
224ea0e1a9aSPaul Mundt# SH-2A Processor Support
225ea0e1a9aSPaul Mundt
2262825999eSPeter Griffinconfig CPU_SUBTYPE_SH7201
2272825999eSPeter Griffin	bool "Support SH7201 processor"
2282825999eSPeter Griffin	select CPU_SH2A
2292825999eSPeter Griffin	select CPU_HAS_FPU
230da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
2312825999eSPeter Griffin
2326d01f510SPaul Mundtconfig CPU_SUBTYPE_SH7203
2336d01f510SPaul Mundt	bool "Support SH7203 processor"
2346d01f510SPaul Mundt	select CPU_SH2A
23574d99a5eSPaul Mundt	select CPU_HAS_FPU
236f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
237da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
2386d01f510SPaul Mundt
239ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7206
240ea0e1a9aSPaul Mundt	bool "Support SH7206 processor"
241ea0e1a9aSPaul Mundt	select CPU_SH2A
242f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
243da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
244ea0e1a9aSPaul Mundt
245a8f67f4bSPaul Mundtconfig CPU_SUBTYPE_SH7263
246a8f67f4bSPaul Mundt	bool "Support SH7263 processor"
247a8f67f4bSPaul Mundt	select CPU_SH2A
24874d99a5eSPaul Mundt	select CPU_HAS_FPU
249f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
250da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
251a8f67f4bSPaul Mundt
2522ad69908SPaul Mundtconfig CPU_SUBTYPE_MXG
2532ad69908SPaul Mundt	bool "Support MX-G processor"
2542ad69908SPaul Mundt	select CPU_SH2A
255da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
2562ad69908SPaul Mundt	help
2572ad69908SPaul Mundt	  Select MX-G if running on an R8A03022BG part.
2582ad69908SPaul Mundt
259ea0e1a9aSPaul Mundt# SH-3 Processor Support
260ea0e1a9aSPaul Mundt
261ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7705
262ea0e1a9aSPaul Mundt	bool "Support SH7705 processor"
263ea0e1a9aSPaul Mundt	select CPU_SH3
264ea0e1a9aSPaul Mundt
265ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7706
266ea0e1a9aSPaul Mundt	bool "Support SH7706 processor"
267ea0e1a9aSPaul Mundt	select CPU_SH3
268ea0e1a9aSPaul Mundt	help
269ea0e1a9aSPaul Mundt	  Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
270ea0e1a9aSPaul Mundt
271ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7707
272ea0e1a9aSPaul Mundt	bool "Support SH7707 processor"
273ea0e1a9aSPaul Mundt	select CPU_SH3
274ea0e1a9aSPaul Mundt	help
275ea0e1a9aSPaul Mundt	  Select SH7707 if you have a  60 Mhz SH-3 HD6417707 CPU.
276ea0e1a9aSPaul Mundt
277ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7708
278ea0e1a9aSPaul Mundt	bool "Support SH7708 processor"
279ea0e1a9aSPaul Mundt	select CPU_SH3
280ea0e1a9aSPaul Mundt	help
281ea0e1a9aSPaul Mundt	  Select SH7708 if you have a  60 Mhz SH-3 HD6417708S or
282ea0e1a9aSPaul Mundt	  if you have a 100 Mhz SH-3 HD6417708R CPU.
283ea0e1a9aSPaul Mundt
284ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7709
285ea0e1a9aSPaul Mundt	bool "Support SH7709 processor"
286ea0e1a9aSPaul Mundt	select CPU_SH3
287ea0e1a9aSPaul Mundt	help
288ea0e1a9aSPaul Mundt	  Select SH7709 if you have a  80 Mhz SH-3 HD6417709 CPU.
289ea0e1a9aSPaul Mundt
290ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7710
291ea0e1a9aSPaul Mundt	bool "Support SH7710 processor"
292ea0e1a9aSPaul Mundt	select CPU_SH3
293ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
294ea0e1a9aSPaul Mundt	help
295ea0e1a9aSPaul Mundt	  Select SH7710 if you have a SH3-DSP SH7710 CPU.
296ea0e1a9aSPaul Mundt
297ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7712
298ea0e1a9aSPaul Mundt	bool "Support SH7712 processor"
299ea0e1a9aSPaul Mundt	select CPU_SH3
300ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
301ea0e1a9aSPaul Mundt	help
302ea0e1a9aSPaul Mundt	  Select SH7712 if you have a SH3-DSP SH7712 CPU.
303ea0e1a9aSPaul Mundt
304ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7720
305ea0e1a9aSPaul Mundt	bool "Support SH7720 processor"
306ea0e1a9aSPaul Mundt	select CPU_SH3
307ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
3082b23a882SMagnus Damm	select SYS_SUPPORTS_CMT
309ea0e1a9aSPaul Mundt	help
310ea0e1a9aSPaul Mundt	  Select SH7720 if you have a SH3-DSP SH7720 CPU.
311ea0e1a9aSPaul Mundt
31231a49c4bSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7721
31331a49c4bSYoshihiro Shimoda	bool "Support SH7721 processor"
31431a49c4bSYoshihiro Shimoda	select CPU_SH3
31531a49c4bSYoshihiro Shimoda	select CPU_HAS_DSP
3162b23a882SMagnus Damm	select SYS_SUPPORTS_CMT
31731a49c4bSYoshihiro Shimoda	help
31831a49c4bSYoshihiro Shimoda	  Select SH7721 if you have a SH3-DSP SH7721 CPU.
31931a49c4bSYoshihiro Shimoda
320ea0e1a9aSPaul Mundt# SH-4 Processor Support
321ea0e1a9aSPaul Mundt
322ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750
323ea0e1a9aSPaul Mundt	bool "Support SH7750 processor"
324ea0e1a9aSPaul Mundt	select CPU_SH4
325ea0e1a9aSPaul Mundt	help
326ea0e1a9aSPaul Mundt	  Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
327ea0e1a9aSPaul Mundt
328ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7091
329ea0e1a9aSPaul Mundt	bool "Support SH7091 processor"
330ea0e1a9aSPaul Mundt	select CPU_SH4
331ea0e1a9aSPaul Mundt	help
332ea0e1a9aSPaul Mundt	  Select SH7091 if you have an SH-4 based Sega device (such as
333ea0e1a9aSPaul Mundt	  the Dreamcast, Naomi, and Naomi 2).
334ea0e1a9aSPaul Mundt
335ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750R
336ea0e1a9aSPaul Mundt	bool "Support SH7750R processor"
337ea0e1a9aSPaul Mundt	select CPU_SH4
338ea0e1a9aSPaul Mundt
339ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750S
340ea0e1a9aSPaul Mundt	bool "Support SH7750S processor"
341ea0e1a9aSPaul Mundt	select CPU_SH4
342ea0e1a9aSPaul Mundt
343ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751
344ea0e1a9aSPaul Mundt	bool "Support SH7751 processor"
345ea0e1a9aSPaul Mundt	select CPU_SH4
346ea0e1a9aSPaul Mundt	help
347ea0e1a9aSPaul Mundt	  Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
348ea0e1a9aSPaul Mundt	  or if you have a HD6417751R CPU.
349ea0e1a9aSPaul Mundt
350ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751R
351ea0e1a9aSPaul Mundt	bool "Support SH7751R processor"
352ea0e1a9aSPaul Mundt	select CPU_SH4
353ea0e1a9aSPaul Mundt
354ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7760
355ea0e1a9aSPaul Mundt	bool "Support SH7760 processor"
356ea0e1a9aSPaul Mundt	select CPU_SH4
357ea0e1a9aSPaul Mundt
358ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH4_202
359ea0e1a9aSPaul Mundt	bool "Support SH4-202 processor"
360ea0e1a9aSPaul Mundt	select CPU_SH4
361ea0e1a9aSPaul Mundt
362ea0e1a9aSPaul Mundt# SH-4A Processor Support
363ea0e1a9aSPaul Mundt
364178dd0cdSPaul Mundtconfig CPU_SUBTYPE_SH7723
365178dd0cdSPaul Mundt	bool "Support SH7723 processor"
366178dd0cdSPaul Mundt	select CPU_SH4A
367178dd0cdSPaul Mundt	select CPU_SHX2
368dc65a977SPaul Mundt	select ARCH_SHMOBILE
369178dd0cdSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
370f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
371178dd0cdSPaul Mundt	help
372178dd0cdSPaul Mundt	  Select SH7723 if you have an SH-MobileR2 CPU.
373178dd0cdSPaul Mundt
3740207a2efSKuninori Morimotoconfig CPU_SUBTYPE_SH7724
3750207a2efSKuninori Morimoto	bool "Support SH7724 processor"
3760207a2efSKuninori Morimoto	select CPU_SH4A
3770207a2efSKuninori Morimoto	select CPU_SHX2
37859fe700dSPaul Mundt	select ARCH_SHMOBILE
3790207a2efSKuninori Morimoto	select ARCH_SPARSEMEM_ENABLE
3800207a2efSKuninori Morimoto	select SYS_SUPPORTS_CMT
3810207a2efSKuninori Morimoto	help
3820207a2efSKuninori Morimoto	  Select SH7724 if you have an SH-MobileR2R CPU.
3830207a2efSKuninori Morimoto
3847d740a06SYoshihiro Shimodaconfig CPU_SUBTYPE_SH7763
3857d740a06SYoshihiro Shimoda	bool "Support SH7763 processor"
3867d740a06SYoshihiro Shimoda	select CPU_SH4A
3877d740a06SYoshihiro Shimoda	help
3887d740a06SYoshihiro Shimoda	  Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
3897d740a06SYoshihiro Shimoda
390ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7770
391ea0e1a9aSPaul Mundt	bool "Support SH7770 processor"
392ea0e1a9aSPaul Mundt	select CPU_SH4A
393ea0e1a9aSPaul Mundt
394ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7780
395ea0e1a9aSPaul Mundt	bool "Support SH7780 processor"
396ea0e1a9aSPaul Mundt	select CPU_SH4A
397ea0e1a9aSPaul Mundt
398ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7785
399ea0e1a9aSPaul Mundt	bool "Support SH7785 processor"
400ea0e1a9aSPaul Mundt	select CPU_SH4A
401ea0e1a9aSPaul Mundt	select CPU_SHX2
402ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
403ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
404ea0e1a9aSPaul Mundt
40555ba99ebSKuninori Morimotoconfig CPU_SUBTYPE_SH7786
40655ba99ebSKuninori Morimoto	bool "Support SH7786 processor"
40755ba99ebSKuninori Morimoto	select CPU_SH4A
40837042fbdSPaul Mundt	select CPU_SHX3
4098263a67eSPaul Mundt	select CPU_HAS_PTEAEX
41055ba99ebSKuninori Morimoto	select ARCH_SPARSEMEM_ENABLE
41155ba99ebSKuninori Morimoto	select SYS_SUPPORTS_NUMA
41255ba99ebSKuninori Morimoto
413ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SHX3
414ea0e1a9aSPaul Mundt	bool "Support SH-X3 processor"
415ea0e1a9aSPaul Mundt	select CPU_SH4A
416ea0e1a9aSPaul Mundt	select CPU_SHX3
417ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
418ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
419ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_SMP
4205840263eSPaul Mundt	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
421ea0e1a9aSPaul Mundt
422ea0e1a9aSPaul Mundt# SH4AL-DSP Processor Support
423ea0e1a9aSPaul Mundt
424ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7343
425ea0e1a9aSPaul Mundt	bool "Support SH7343 processor"
426ea0e1a9aSPaul Mundt	select CPU_SH4AL_DSP
427dc65a977SPaul Mundt	select ARCH_SHMOBILE
428f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
429ea0e1a9aSPaul Mundt
430ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7722
431ea0e1a9aSPaul Mundt	bool "Support SH7722 processor"
432ea0e1a9aSPaul Mundt	select CPU_SH4AL_DSP
433ea0e1a9aSPaul Mundt	select CPU_SHX2
434dc65a977SPaul Mundt	select ARCH_SHMOBILE
435ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
436ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
437f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
438ea0e1a9aSPaul Mundt
4399109a30eSMagnus Dammconfig CPU_SUBTYPE_SH7366
4409109a30eSMagnus Damm	bool "Support SH7366 processor"
4419109a30eSMagnus Damm	select CPU_SH4AL_DSP
4429109a30eSMagnus Damm	select CPU_SHX2
443dc65a977SPaul Mundt	select ARCH_SHMOBILE
4449109a30eSMagnus Damm	select ARCH_SPARSEMEM_ENABLE
4459109a30eSMagnus Damm	select SYS_SUPPORTS_NUMA
446f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
4479109a30eSMagnus Damm
4483cc000b5SPaul Mundtendchoice
4493cc000b5SPaul Mundt
4503cc000b5SPaul Mundtendif
4513cc000b5SPaul Mundt
4523cc000b5SPaul Mundtif SUPERH64
4533cc000b5SPaul Mundt
4543cc000b5SPaul Mundtchoice
4553cc000b5SPaul Mundt	prompt "Processor sub-type selection"
4563cc000b5SPaul Mundt
457ea0e1a9aSPaul Mundt# SH-5 Processor Support
458ea0e1a9aSPaul Mundt
459ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_101
460ea0e1a9aSPaul Mundt	bool "Support SH5-101 processor"
461ea0e1a9aSPaul Mundt	select CPU_SH5
462ea0e1a9aSPaul Mundt
463ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_103
464ea0e1a9aSPaul Mundt	bool "Support SH5-103 processor"
4658ef97dd7SPaul Mundt	select CPU_SH5
466ea0e1a9aSPaul Mundt
467ea0e1a9aSPaul Mundtendchoice
468ea0e1a9aSPaul Mundt
4693cc000b5SPaul Mundtendif
4703cc000b5SPaul Mundt
471ea0e1a9aSPaul Mundtsource "arch/sh/mm/Kconfig"
472939a24a6SPaul Mundt
473ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.cpu"
474ea0e1a9aSPaul Mundt
475939a24a6SPaul Mundtsource "arch/sh/boards/Kconfig"
476ea0e1a9aSPaul Mundt
477ea0e1a9aSPaul Mundtmenu "Timer and clock configuration"
478ea0e1a9aSPaul Mundt
4799570ef20SMagnus Dammconfig SH_TIMER_TMU
4809570ef20SMagnus Damm	bool "TMU timer driver"
481f19900b2SMagnus Damm	depends on SYS_SUPPORTS_TMU
4829570ef20SMagnus Damm	default y
4839570ef20SMagnus Damm	help
4849570ef20SMagnus Damm	  This enables the build of the TMU timer driver.
4859570ef20SMagnus Damm
486f5ad881bSPaul Mundtconfig SH_TIMER_CMT
487f425752fSMagnus Damm	bool "CMT timer driver"
488f425752fSMagnus Damm	depends on SYS_SUPPORTS_CMT
489f425752fSMagnus Damm	default y
490f425752fSMagnus Damm	help
491f425752fSMagnus Damm	  This enables build of the CMT timer driver.
492f5ad881bSPaul Mundt
493d5ed4c2eSMagnus Dammconfig SH_TIMER_MTU2
494d5ed4c2eSMagnus Damm	bool "MTU2 timer driver"
4953280c886SMagnus Damm	depends on SYS_SUPPORTS_MTU2
496d5ed4c2eSMagnus Damm	default y
497d5ed4c2eSMagnus Damm	help
498d5ed4c2eSMagnus Damm	  This enables build of the MTU2 timer driver.
499d5ed4c2eSMagnus Damm
500ea0e1a9aSPaul Mundtconfig SH_PCLK_FREQ
501ea0e1a9aSPaul Mundt	int "Peripheral clock frequency (in Hz)"
502ea0e1a9aSPaul Mundt	default "27000000" if CPU_SUBTYPE_SH7343
503ea0e1a9aSPaul Mundt	default "31250000" if CPU_SUBTYPE_SH7619
504ea0e1a9aSPaul Mundt	default "32000000" if CPU_SUBTYPE_SH7722
505178dd0cdSPaul Mundt	default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
506ea0e1a9aSPaul Mundt			      CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
507a8f67f4bSPaul Mundt			      CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
508a4b1fddcSPaul Mundt			      CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG    || \
50947785414SKuninori Morimoto			      CPU_SUBTYPE_SH7786 || CPU_SUBTYPE_SH7724
510ea0e1a9aSPaul Mundt	default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
511ea0e1a9aSPaul Mundt	default "66000000" if CPU_SUBTYPE_SH4_202
512ea0e1a9aSPaul Mundt	default "50000000"
513ea0e1a9aSPaul Mundt	help
514ea0e1a9aSPaul Mundt	  This option is used to specify the peripheral clock frequency.
515ea0e1a9aSPaul Mundt	  This is necessary for determining the reference clock value on
516ea0e1a9aSPaul Mundt	  platforms lacking an RTC.
517ea0e1a9aSPaul Mundt
51836aa1e32SPaul Mundtconfig SH_CLK_CPG
51936aa1e32SPaul Mundt	def_bool y
52036aa1e32SPaul Mundt
521253b0887SPaul Mundtconfig SH_CLK_CPG_LEGACY
52236aa1e32SPaul Mundt	depends on SH_CLK_CPG
52346e9371cSMagnus Damm	def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE
524253b0887SPaul Mundt
525ea0e1a9aSPaul Mundtconfig SH_CLK_MD
526ea0e1a9aSPaul Mundt	int "CPU Mode Pin Setting"
5276d01f510SPaul Mundt	depends on CPU_SH2
528ea0e1a9aSPaul Mundt	default 6 if CPU_SUBTYPE_SH7206
529ea0e1a9aSPaul Mundt	default 5 if CPU_SUBTYPE_SH7619
530ea0e1a9aSPaul Mundt	default 0
531ea0e1a9aSPaul Mundt	help
532ea0e1a9aSPaul Mundt	  MD2 - MD0 pin setting.
533ea0e1a9aSPaul Mundt
534ea0e1a9aSPaul Mundtsource "kernel/time/Kconfig"
535ea0e1a9aSPaul Mundt
536ea0e1a9aSPaul Mundtendmenu
537ea0e1a9aSPaul Mundt
538ea0e1a9aSPaul Mundtmenu "CPU Frequency scaling"
539ea0e1a9aSPaul Mundt
540ea0e1a9aSPaul Mundtsource "drivers/cpufreq/Kconfig"
541ea0e1a9aSPaul Mundt
542ea0e1a9aSPaul Mundtconfig SH_CPU_FREQ
543ea0e1a9aSPaul Mundt	tristate "SuperH CPU Frequency driver"
544ea0e1a9aSPaul Mundt	depends on CPU_FREQ
545ea0e1a9aSPaul Mundt	select CPU_FREQ_TABLE
546ea0e1a9aSPaul Mundt	help
5478a655053SPaul Mundt	  This adds the cpufreq driver for SuperH. Any CPU that supports
5488a655053SPaul Mundt	  clock rate rounding through the clock framework can use this
5498a655053SPaul Mundt	  driver. While it will make the kernel slightly larger, this is
5508a655053SPaul Mundt	  harmless for CPUs that don't support rate rounding. The driver
5518a655053SPaul Mundt	  will also generate a notice in the boot log before disabling
5528a655053SPaul Mundt	  itself if the CPU in question is not capable of rate rounding.
553ea0e1a9aSPaul Mundt
554ea0e1a9aSPaul Mundt	  For details, take a look at <file:Documentation/cpu-freq>.
555ea0e1a9aSPaul Mundt
556ea0e1a9aSPaul Mundt	  If unsure, say N.
557ea0e1a9aSPaul Mundt
558ea0e1a9aSPaul Mundtendmenu
559ea0e1a9aSPaul Mundt
560ea0e1a9aSPaul Mundtsource "arch/sh/drivers/Kconfig"
561ea0e1a9aSPaul Mundt
562ea0e1a9aSPaul Mundtendmenu
563ea0e1a9aSPaul Mundt
564ea0e1a9aSPaul Mundtmenu "Kernel features"
565ea0e1a9aSPaul Mundt
566ea0e1a9aSPaul Mundtsource kernel/Kconfig.hz
567ea0e1a9aSPaul Mundt
568ea0e1a9aSPaul Mundtconfig KEXEC
569ea0e1a9aSPaul Mundt	bool "kexec system call (EXPERIMENTAL)"
570f36b59d1SNobuhiro Iwamatsu	depends on SUPERH32 && EXPERIMENTAL && MMU
571ea0e1a9aSPaul Mundt	help
572ea0e1a9aSPaul Mundt	  kexec is a system call that implements the ability to shutdown your
573ea0e1a9aSPaul Mundt	  current kernel, and to start another kernel.  It is like a reboot
574ea0e1a9aSPaul Mundt	  but it is independent of the system firmware.  And like a reboot
575ea0e1a9aSPaul Mundt	  you can start any kernel with it, not just Linux.
576ea0e1a9aSPaul Mundt
577ea0e1a9aSPaul Mundt	  The name comes from the similarity to the exec system call.
578ea0e1a9aSPaul Mundt
579ea0e1a9aSPaul Mundt	  It is an ongoing process to be certain the hardware in a machine
580ea0e1a9aSPaul Mundt	  is properly shutdown, so do not be surprised if this code does not
581ea0e1a9aSPaul Mundt	  initially work for you.  It may help to enable device hotplugging
582ea0e1a9aSPaul Mundt	  support.  As of this writing the exact hardware interface is
583ea0e1a9aSPaul Mundt	  strongly in flux, so no good recommendation can be made.
584ea0e1a9aSPaul Mundt
585ea0e1a9aSPaul Mundtconfig CRASH_DUMP
586ea0e1a9aSPaul Mundt	bool "kernel crash dumps (EXPERIMENTAL)"
587640f7487SPaul Mundt	depends on SUPERH32 && EXPERIMENTAL
588ea0e1a9aSPaul Mundt	help
589ea0e1a9aSPaul Mundt	  Generate crash dump after being started by kexec.
590ea0e1a9aSPaul Mundt	  This should be normally only set in special crash dump kernels
591ea0e1a9aSPaul Mundt	  which are loaded in the main kernel with kexec-tools into
592ea0e1a9aSPaul Mundt	  a specially reserved region and then later executed after
593ea0e1a9aSPaul Mundt	  a crash by kdump/kexec. The crash dump kernel must be compiled
594ea0e1a9aSPaul Mundt	  to a memory address not used by the main kernel using
595ea0e1a9aSPaul Mundt	  MEMORY_START.
596ea0e1a9aSPaul Mundt
597ea0e1a9aSPaul Mundt	  For more details see Documentation/kdump/kdump.txt
598ea0e1a9aSPaul Mundt
599b7cf6ddcSMagnus Dammconfig KEXEC_JUMP
600b7cf6ddcSMagnus Damm	bool "kexec jump (EXPERIMENTAL)"
601b7cf6ddcSMagnus Damm	depends on SUPERH32 && KEXEC && HIBERNATION && EXPERIMENTAL
602b7cf6ddcSMagnus Damm	help
603b7cf6ddcSMagnus Damm	  Jump between original kernel and kexeced kernel and invoke
604b7cf6ddcSMagnus Damm	  code via KEXEC
605b7cf6ddcSMagnus Damm
606c4637d47SPaul Mundtconfig SECCOMP
607c4637d47SPaul Mundt	bool "Enable seccomp to safely compute untrusted bytecode"
608c4637d47SPaul Mundt	depends on PROC_FS
609c4637d47SPaul Mundt	help
610c4637d47SPaul Mundt	  This kernel feature is useful for number crunching applications
611c4637d47SPaul Mundt	  that may need to compute untrusted bytecode during their
612c4637d47SPaul Mundt	  execution. By using pipes or other transports made available to
613c4637d47SPaul Mundt	  the process as file descriptors supporting the read/write
614c4637d47SPaul Mundt	  syscalls, it's possible to isolate those applications in
615c4637d47SPaul Mundt	  their own address space using seccomp. Once seccomp is
616c4637d47SPaul Mundt	  enabled via prctl, it cannot be disabled and the task is only
617c4637d47SPaul Mundt	  allowed to execute a few safe syscalls defined by each seccomp
618c4637d47SPaul Mundt	  mode.
619c4637d47SPaul Mundt
620c4637d47SPaul Mundt	  If unsure, say N.
621c4637d47SPaul Mundt
622ea0e1a9aSPaul Mundtconfig SMP
623ea0e1a9aSPaul Mundt	bool "Symmetric multi-processing support"
624ea0e1a9aSPaul Mundt	depends on SYS_SUPPORTS_SMP
625490f5de5SJens Axboe	select USE_GENERIC_SMP_HELPERS
626ea0e1a9aSPaul Mundt	---help---
627ea0e1a9aSPaul Mundt	  This enables support for systems with more than one CPU. If you have
628ea0e1a9aSPaul Mundt	  a system with only one CPU, like most personal computers, say N. If
629ea0e1a9aSPaul Mundt	  you have a system with more than one CPU, say Y.
630ea0e1a9aSPaul Mundt
631ea0e1a9aSPaul Mundt	  If you say N here, the kernel will run on single and multiprocessor
632ea0e1a9aSPaul Mundt	  machines, but will use only one CPU of a multiprocessor machine. If
633ea0e1a9aSPaul Mundt	  you say Y here, the kernel will run on many, but not all,
634ea0e1a9aSPaul Mundt	  singleprocessor machines. On a singleprocessor machine, the kernel
635ea0e1a9aSPaul Mundt	  will run faster if you say N here.
636ea0e1a9aSPaul Mundt
637ea0e1a9aSPaul Mundt	  People using multiprocessor machines who say Y here should also say
638ea0e1a9aSPaul Mundt	  Y to "Enhanced Real Time Clock Support", below.
639ea0e1a9aSPaul Mundt
64003502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
64103502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
642ea0e1a9aSPaul Mundt
643ea0e1a9aSPaul Mundt	  If you don't know what to do here, say N.
644ea0e1a9aSPaul Mundt
645ea0e1a9aSPaul Mundtconfig NR_CPUS
646ea0e1a9aSPaul Mundt	int "Maximum number of CPUs (2-32)"
647ea0e1a9aSPaul Mundt	range 2 32
648ea0e1a9aSPaul Mundt	depends on SMP
649ea0e1a9aSPaul Mundt	default "4" if CPU_SHX3
650ea0e1a9aSPaul Mundt	default "2"
651ea0e1a9aSPaul Mundt	help
652ea0e1a9aSPaul Mundt	  This allows you to specify the maximum number of CPUs which this
653ea0e1a9aSPaul Mundt	  kernel will support.  The maximum supported value is 32 and the
654ea0e1a9aSPaul Mundt	  minimum value which makes sense is 2.
655ea0e1a9aSPaul Mundt
656ea0e1a9aSPaul Mundt	  This is purely to save memory - each supported CPU adds
657ea0e1a9aSPaul Mundt	  approximately eight kilobytes to the kernel image.
658ea0e1a9aSPaul Mundt
659ea0e1a9aSPaul Mundtsource "kernel/Kconfig.preempt"
660ea0e1a9aSPaul Mundt
661ea0e1a9aSPaul Mundtconfig GUSA
662ea0e1a9aSPaul Mundt	def_bool y
6631efe4ce3SStuart Menefy	depends on !SMP && SUPERH32
664ea0e1a9aSPaul Mundt	help
665ea0e1a9aSPaul Mundt	  This enables support for gUSA (general UserSpace Atomicity).
666ea0e1a9aSPaul Mundt	  This is the default implementation for both UP and non-ll/sc
667ea0e1a9aSPaul Mundt	  CPUs, and is used by the libc, amongst others.
668ea0e1a9aSPaul Mundt
669ea0e1a9aSPaul Mundt	  For additional information, design information can be found
670ea0e1a9aSPaul Mundt	  in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
671ea0e1a9aSPaul Mundt
672ea0e1a9aSPaul Mundt	  This should only be disabled for special cases where alternate
673ea0e1a9aSPaul Mundt	  atomicity implementations exist.
674ea0e1a9aSPaul Mundt
6751efe4ce3SStuart Menefyconfig GUSA_RB
6761efe4ce3SStuart Menefy	bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
6771efe4ce3SStuart Menefy	depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
6781efe4ce3SStuart Menefy	help
6791efe4ce3SStuart Menefy	  Enabling this option will allow the kernel to implement some
680692105b8SMatt LaPlante	  atomic operations using a software implementation of load-locked/
6811efe4ce3SStuart Menefy	  store-conditional (LLSC). On machines which do not have hardware
6821efe4ce3SStuart Menefy	  LLSC, this should be more efficient than the other alternative of
683692105b8SMatt LaPlante	  disabling interrupts around the atomic sequence.
6841efe4ce3SStuart Menefy
68554ff328bSPaul Mundtconfig SPARSE_IRQ
68654ff328bSPaul Mundt	bool "Support sparse irq numbering"
68754ff328bSPaul Mundt	depends on EXPERIMENTAL
68854ff328bSPaul Mundt	help
68954ff328bSPaul Mundt	  This enables support for sparse irqs. This is useful in general
69054ff328bSPaul Mundt	  as most CPUs have a fairly sparse array of IRQ vectors, which
69154ff328bSPaul Mundt	  the irq_desc then maps directly on to. Systems with a high
69254ff328bSPaul Mundt	  number of off-chip IRQs will want to treat this as
69354ff328bSPaul Mundt	  experimental until they have been independently verified.
69454ff328bSPaul Mundt
69554ff328bSPaul Mundt	  If you don't know what to do here, say N.
69654ff328bSPaul Mundt
697ea0e1a9aSPaul Mundtendmenu
698ea0e1a9aSPaul Mundt
699ea0e1a9aSPaul Mundtmenu "Boot options"
700ea0e1a9aSPaul Mundt
701ea0e1a9aSPaul Mundtconfig ZERO_PAGE_OFFSET
702b412a49aSPaul Mundt	hex
703b412a49aSPaul Mundt	default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \
704b412a49aSPaul Mundt				SH_7751_SOLUTION_ENGINE
705b412a49aSPaul Mundt	default "0x00004000" if PAGE_SIZE_16KB || SH_SH03
706ea0e1a9aSPaul Mundt	default "0x00002000" if PAGE_SIZE_8KB
707ea0e1a9aSPaul Mundt	default "0x00001000"
708ea0e1a9aSPaul Mundt	help
709ea0e1a9aSPaul Mundt	  This sets the default offset of zero page.
710ea0e1a9aSPaul Mundt
711ea0e1a9aSPaul Mundtconfig BOOT_LINK_OFFSET
712b412a49aSPaul Mundt	hex
713b412a49aSPaul Mundt	default "0x00210000" if SH_SHMIN
714a2e76c80SPaul Mundt	default "0x00400000" if SH_CAYMAN
715b412a49aSPaul Mundt	default "0x00810000" if SH_7780_SOLUTION_ENGINE
716b412a49aSPaul Mundt	default "0x009e0000" if SH_TITAN
717b412a49aSPaul Mundt	default "0x01800000" if SH_SDK7780
718b412a49aSPaul Mundt	default "0x02000000" if SH_EDOSK7760
719ea0e1a9aSPaul Mundt	default "0x00800000"
720ea0e1a9aSPaul Mundt	help
721ea0e1a9aSPaul Mundt	  This option allows you to set the link address offset of the zImage.
722ea0e1a9aSPaul Mundt	  This can be useful if you are on a board which has a small amount of
723ea0e1a9aSPaul Mundt	  memory.
724ea0e1a9aSPaul Mundt
725b412a49aSPaul Mundtconfig ENTRY_OFFSET
726b412a49aSPaul Mundt	hex
727b412a49aSPaul Mundt	default "0x00001000" if PAGE_SIZE_4KB
728b412a49aSPaul Mundt	default "0x00002000" if PAGE_SIZE_8KB
729b412a49aSPaul Mundt	default "0x00004000" if PAGE_SIZE_16KB
730b412a49aSPaul Mundt	default "0x00010000" if PAGE_SIZE_64KB
731b412a49aSPaul Mundt	default "0x00000000"
732b412a49aSPaul Mundt
733ea0e1a9aSPaul Mundtconfig UBC_WAKEUP
734ea0e1a9aSPaul Mundt	bool "Wakeup UBC on startup"
735ea0e1a9aSPaul Mundt	depends on CPU_SH4 && !CPU_SH4A
736ea0e1a9aSPaul Mundt	help
737ea0e1a9aSPaul Mundt	  Selecting this option will wakeup the User Break Controller (UBC) on
738ea0e1a9aSPaul Mundt	  startup. Although the UBC is left in an awake state when the processor
739ea0e1a9aSPaul Mundt	  comes up, some boot loaders misbehave by putting the UBC to sleep in a
740ea0e1a9aSPaul Mundt	  power saving state, which causes issues with things like ptrace().
741ea0e1a9aSPaul Mundt
742ea0e1a9aSPaul Mundt	  If unsure, say N.
743ea0e1a9aSPaul Mundt
744ea0e1a9aSPaul Mundtconfig CMDLINE_BOOL
745ea0e1a9aSPaul Mundt	bool "Default bootloader kernel arguments"
746ea0e1a9aSPaul Mundt
747ea0e1a9aSPaul Mundtconfig CMDLINE
748ea0e1a9aSPaul Mundt	string "Initial kernel command string"
749ea0e1a9aSPaul Mundt	depends on CMDLINE_BOOL
750ea0e1a9aSPaul Mundt	default "console=ttySC1,115200"
751ea0e1a9aSPaul Mundt
752ea0e1a9aSPaul Mundtendmenu
753ea0e1a9aSPaul Mundt
754ea0e1a9aSPaul Mundtmenu "Bus options"
755ea0e1a9aSPaul Mundt
756ea0e1a9aSPaul Mundtconfig SUPERHYWAY
757ea0e1a9aSPaul Mundt	tristate "SuperHyway Bus support"
758ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH4_202
759ea0e1a9aSPaul Mundt
760ea0e1a9aSPaul Mundtconfig MAPLE
761ea0e1a9aSPaul Mundt	bool "Maple Bus support"
762ea0e1a9aSPaul Mundt	depends on SH_DREAMCAST
763ea0e1a9aSPaul Mundt	help
764ea0e1a9aSPaul Mundt	 The Maple Bus is SEGA's serial communication bus for peripherals
765ea0e1a9aSPaul Mundt	 on the Dreamcast. Without this bus support you won't be able to
766ea0e1a9aSPaul Mundt	 get your Dreamcast keyboard etc to work, so most users
767ea0e1a9aSPaul Mundt	 probably want to say 'Y' here, unless you are only using the
768ea0e1a9aSPaul Mundt	 Dreamcast with a serial line terminal or a remote network
769ea0e1a9aSPaul Mundt	 connection.
770ea0e1a9aSPaul Mundt
771ea0e1a9aSPaul Mundtsource "arch/sh/drivers/pci/Kconfig"
772ea0e1a9aSPaul Mundt
773e16038abSPaul Mundtsource "drivers/pci/pcie/Kconfig"
774e16038abSPaul Mundt
775ea0e1a9aSPaul Mundtsource "drivers/pci/Kconfig"
776ea0e1a9aSPaul Mundt
777ea0e1a9aSPaul Mundtsource "drivers/pcmcia/Kconfig"
778ea0e1a9aSPaul Mundt
779ea0e1a9aSPaul Mundtsource "drivers/pci/hotplug/Kconfig"
780ea0e1a9aSPaul Mundt
781ea0e1a9aSPaul Mundtendmenu
782ea0e1a9aSPaul Mundt
783ea0e1a9aSPaul Mundtmenu "Executable file formats"
784ea0e1a9aSPaul Mundt
785ea0e1a9aSPaul Mundtsource "fs/Kconfig.binfmt"
786ea0e1a9aSPaul Mundt
787ea0e1a9aSPaul Mundtendmenu
788ea0e1a9aSPaul Mundt
789ea0e1a9aSPaul Mundtmenu "Power management options (EXPERIMENTAL)"
790af998a9aSMagnus Dammdepends on EXPERIMENTAL
791f4cb5700SJohannes Berg
792c6f17cb2SMagnus Dammsource "kernel/power/Kconfig"
793c6f17cb2SMagnus Damm
794c6f17cb2SMagnus Dammsource "drivers/cpuidle/Kconfig"
795ea0e1a9aSPaul Mundt
796ea0e1a9aSPaul Mundtendmenu
797ea0e1a9aSPaul Mundt
798ea0e1a9aSPaul Mundtsource "net/Kconfig"
799ea0e1a9aSPaul Mundt
800ea0e1a9aSPaul Mundtsource "drivers/Kconfig"
801ea0e1a9aSPaul Mundt
802ea0e1a9aSPaul Mundtsource "fs/Kconfig"
803ea0e1a9aSPaul Mundt
804ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.debug"
805ea0e1a9aSPaul Mundt
806ea0e1a9aSPaul Mundtsource "security/Kconfig"
807ea0e1a9aSPaul Mundt
808ea0e1a9aSPaul Mundtsource "crypto/Kconfig"
809ea0e1a9aSPaul Mundt
810ea0e1a9aSPaul Mundtsource "lib/Kconfig"
811