xref: /openbmc/linux/arch/sh/Kconfig (revision 95f72d1e)
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
1286e4dd5aSPaul Mundt	select HAVE_IDE if HAS_IOPORT
1395f72d1eSYinghai Lu	select HAVE_MEMBLOCK
1442d4b839SMathieu Desnoyers	select HAVE_OPROFILE
159de90ac2SDmitry Baryshkov	select HAVE_GENERIC_DMA_COHERENT
16d7b01f78SPaul Mundt	select HAVE_ARCH_TRACEHOOK
17f802d969SPaul Mundt	select HAVE_DMA_API_DEBUG
1873c926beSPaul Mundt	select HAVE_DMA_ATTRS
19cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
2072f0c137SPaul Mundt	select PERF_USE_VMALLOC
21df8ce259SPaul Mundt	select HAVE_KERNEL_GZIP
2207e88e1bSPaul Mundt	select HAVE_KERNEL_BZIP2
2307e88e1bSPaul Mundt	select HAVE_KERNEL_LZMA
24c7b16efbSPaul Mundt	select HAVE_KERNEL_LZO
25a74f7e04SPaul Mundt	select HAVE_SYSCALL_TRACEPOINTS
266eac1af0SPaul Mundt	select RTC_LIB
27f01789c6SPaul Mundt	select GENERIC_ATOMIC64
28ea0e1a9aSPaul Mundt	help
29ea0e1a9aSPaul Mundt	  The SuperH is a RISC processor targeted for use in embedded systems
30ea0e1a9aSPaul Mundt	  and consumer electronics; it was also used in the Sega Dreamcast
31ea0e1a9aSPaul Mundt	  gaming console.  The SuperH port has a home page at
32ea0e1a9aSPaul Mundt	  <http://www.linux-sh.org/>.
33ea0e1a9aSPaul Mundt
34ea0e1a9aSPaul Mundtconfig SUPERH32
353cc000b5SPaul Mundt	def_bool ARCH = "sh"
36d39f5450SChris Smith	select HAVE_KPROBES
37d39f5450SChris Smith	select HAVE_KRETPROBES
386d63e73dSPaul Mundt	select HAVE_IOREMAP_PROT if MMU && !X2TLB
39694f94f2SPaul Mundt	select HAVE_FUNCTION_TRACER
40fad57febSMatt Fleming	select HAVE_FTRACE_MCOUNT_RECORD
41fad57febSMatt Fleming	select HAVE_DYNAMIC_FTRACE
42c1340c05SMatt Fleming	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
43e4b053d9SPaul Mundt	select HAVE_FTRACE_NMI_ENTER if DYNAMIC_FTRACE
44327933f5SMatt Fleming	select HAVE_FUNCTION_GRAPH_TRACER
45ab6e570bSPaul Mundt	select HAVE_ARCH_KGDB
466fbfe8d7SPaul Mundt	select HAVE_HW_BREAKPOINT
470102752eSFrederic Weisbecker	select HAVE_MIXED_BREAKPOINTS_REGS
486c0ee6a4SPaul Mundt	select PERF_EVENTS if HAVE_HW_BREAKPOINT
498dafc346SPaul Mundt	select ARCH_HIBERNATION_POSSIBLE if MMU
50ea0e1a9aSPaul Mundt
51ea0e1a9aSPaul Mundtconfig SUPERH64
523cc000b5SPaul Mundt	def_bool ARCH = "sh64"
53ea0e1a9aSPaul Mundt
54f42b7e3dSPaul Mundtconfig ARCH_DEFCONFIG
55f42b7e3dSPaul Mundt	string
56f42b7e3dSPaul Mundt	default "arch/sh/configs/shx3_defconfig" if SUPERH32
57f42b7e3dSPaul Mundt	default "arch/sh/configs/cayman_defconfig" if SUPERH64
58f42b7e3dSPaul Mundt
59ea0e1a9aSPaul Mundtconfig RWSEM_GENERIC_SPINLOCK
60d7ef4fb3SHarvey Harrison	def_bool y
61ea0e1a9aSPaul Mundt
62ea0e1a9aSPaul Mundtconfig RWSEM_XCHGADD_ALGORITHM
63ea0e1a9aSPaul Mundt	bool
64ea0e1a9aSPaul Mundt
65ea0e1a9aSPaul Mundtconfig GENERIC_BUG
66ea0e1a9aSPaul Mundt	def_bool y
67a82d53ecSPaul Mundt	depends on BUG && SUPERH32
68ea0e1a9aSPaul Mundt
693767f3f1SPaul Mundtconfig GENERIC_CSUM
703767f3f1SPaul Mundt	def_bool y
713767f3f1SPaul Mundt	depends on SUPERH64
723767f3f1SPaul Mundt
73ea0e1a9aSPaul Mundtconfig GENERIC_FIND_NEXT_BIT
74d7ef4fb3SHarvey Harrison	def_bool y
75ea0e1a9aSPaul Mundt
76ea0e1a9aSPaul Mundtconfig GENERIC_HWEIGHT
77d7ef4fb3SHarvey Harrison	def_bool y
78ea0e1a9aSPaul Mundt
79ea0e1a9aSPaul Mundtconfig GENERIC_HARDIRQS
80d7ef4fb3SHarvey Harrison	def_bool y
81ea0e1a9aSPaul Mundt
825093c9a4SPaul Mundtconfig GENERIC_HARDIRQS_NO__DO_IRQ
835093c9a4SPaul Mundt	def_bool y
845093c9a4SPaul Mundt
852eb2a436SPaul Mundtconfig IRQ_PER_CPU
862eb2a436SPaul Mundt	def_bool y
872eb2a436SPaul Mundt
884b842c85SPaul Mundtconfig SPARSE_IRQ
894b842c85SPaul Mundt	def_bool y
904b842c85SPaul Mundt	depends on SUPERH32
914b842c85SPaul Mundt
922967dab1SMagnus Dammconfig GENERIC_GPIO
932967dab1SMagnus Damm	def_bool n
942967dab1SMagnus Damm
95ea0e1a9aSPaul Mundtconfig GENERIC_CALIBRATE_DELAY
96cf204fa7SPaul Mundt	bool
97ea0e1a9aSPaul Mundt
98ea0e1a9aSPaul Mundtconfig GENERIC_IOMAP
99ea0e1a9aSPaul Mundt	bool
100ea0e1a9aSPaul Mundt
101ea0e1a9aSPaul Mundtconfig GENERIC_TIME
10275634311Sjohn stultz	def_bool y
103ea0e1a9aSPaul Mundt
104ea0e1a9aSPaul Mundtconfig GENERIC_CLOCKEVENTS
105938edae1SPaul Mundt	def_bool y
106ea0e1a9aSPaul Mundt
1078c24594dSPaul Mundtconfig GENERIC_CLOCKEVENTS_BROADCAST
1088c24594dSPaul Mundt	bool
1098c24594dSPaul Mundt
1106d134b9eSPaul Mundtconfig GENERIC_CMOS_UPDATE
1116d134b9eSPaul Mundt	def_bool y
1126d134b9eSPaul Mundt	depends on SH_SH03 || SH_DREAMCAST
1136d134b9eSPaul Mundt
114bdcab87bSPaul Mundtconfig GENERIC_LOCKBREAK
115bdcab87bSPaul Mundt	def_bool y
116bdcab87bSPaul Mundt	depends on SMP && PREEMPT
117bdcab87bSPaul Mundt
118ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PM
119ea0e1a9aSPaul Mundt	bool
120af998a9aSMagnus Damm	depends on !SMP
121af998a9aSMagnus Damm
122af998a9aSMagnus Dammconfig ARCH_SUSPEND_POSSIBLE
123af998a9aSMagnus Damm	def_bool n
124af998a9aSMagnus Damm
125af998a9aSMagnus Dammconfig ARCH_HIBERNATION_POSSIBLE
126af998a9aSMagnus Damm	def_bool n
127ea0e1a9aSPaul Mundt
128ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_APM_EMULATION
129ea0e1a9aSPaul Mundt	bool
130af998a9aSMagnus Damm	select ARCH_SUSPEND_POSSIBLE
131ea0e1a9aSPaul Mundt
132ffb4a73dSPaul Mundtconfig SYS_SUPPORTS_HUGETLBFS
133ffb4a73dSPaul Mundt	bool
134ffb4a73dSPaul Mundt
135ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_SMP
136ea0e1a9aSPaul Mundt	bool
137ea0e1a9aSPaul Mundt
138ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_NUMA
139ea0e1a9aSPaul Mundt	bool
140ea0e1a9aSPaul Mundt
141ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PCI
142ea0e1a9aSPaul Mundt	bool
143ea0e1a9aSPaul Mundt
144f5ad881bSPaul Mundtconfig SYS_SUPPORTS_CMT
145f5ad881bSPaul Mundt	bool
146f5ad881bSPaul Mundt
147d5ed4c2eSMagnus Dammconfig SYS_SUPPORTS_MTU2
148d5ed4c2eSMagnus Damm	bool
149d5ed4c2eSMagnus Damm
1509570ef20SMagnus Dammconfig SYS_SUPPORTS_TMU
1519570ef20SMagnus Damm	bool
1529570ef20SMagnus Damm
153ea0e1a9aSPaul Mundtconfig STACKTRACE_SUPPORT
154d7ef4fb3SHarvey Harrison	def_bool y
155ea0e1a9aSPaul Mundt
156ea0e1a9aSPaul Mundtconfig LOCKDEP_SUPPORT
157d7ef4fb3SHarvey Harrison	def_bool y
158ea0e1a9aSPaul Mundt
1595a89f1adSPaul Mundtconfig HAVE_LATENCYTOP_SUPPORT
1605a89f1adSPaul Mundt	def_bool y
1615a89f1adSPaul Mundt
162ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U32
163d7ef4fb3SHarvey Harrison	def_bool n
164ea0e1a9aSPaul Mundt
165ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U64
166d7ef4fb3SHarvey Harrison	def_bool n
167ea0e1a9aSPaul Mundt
168ea0e1a9aSPaul Mundtconfig ARCH_NO_VIRT_TO_BUS
169ea0e1a9aSPaul Mundt	def_bool y
170ea0e1a9aSPaul Mundt
171e869a90eSPaul Mundtconfig ARCH_HAS_DEFAULT_IDLE
172e869a90eSPaul Mundt	def_bool y
173e869a90eSPaul Mundt
1742e046b94SPaul Mundtconfig ARCH_HAS_CPU_IDLE_WAIT
1752e046b94SPaul Mundt	def_bool y
1762e046b94SPaul Mundt
17786e4dd5aSPaul Mundtconfig NO_IOPORT
17886e4dd5aSPaul Mundt	bool
17986e4dd5aSPaul Mundt
180e7cc9a73SMagnus Dammconfig IO_TRAPPED
181e7cc9a73SMagnus Damm	bool
182e7cc9a73SMagnus Damm
18301be5d63SPaul Mundtconfig DMA_COHERENT
18401be5d63SPaul Mundt	bool
18501be5d63SPaul Mundt
18601be5d63SPaul Mundtconfig DMA_NONCOHERENT
18701be5d63SPaul Mundt	def_bool !DMA_COHERENT
18801be5d63SPaul Mundt
1895cabbb62SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
1905cabbb62SFUJITA Tomonori	def_bool DMA_NONCOHERENT
1915cabbb62SFUJITA Tomonori
19218e98307SFUJITA Tomonoriconfig NEED_SG_DMA_LENGTH
19318e98307SFUJITA Tomonori	def_bool y
19418e98307SFUJITA Tomonori
195ea0e1a9aSPaul Mundtsource "init/Kconfig"
196ea0e1a9aSPaul Mundt
197dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
198dc52ddc0SMatt Helsley
199ea0e1a9aSPaul Mundtmenu "System type"
200ea0e1a9aSPaul Mundt
201ea0e1a9aSPaul Mundt#
202ea0e1a9aSPaul Mundt# Processor families
203ea0e1a9aSPaul Mundt#
204ea0e1a9aSPaul Mundtconfig CPU_SH2
205ea0e1a9aSPaul Mundt	bool
206ea0e1a9aSPaul Mundt
207ea0e1a9aSPaul Mundtconfig CPU_SH2A
208ea0e1a9aSPaul Mundt	bool
209ea0e1a9aSPaul Mundt	select CPU_SH2
210ea0e1a9aSPaul Mundt
211ea0e1a9aSPaul Mundtconfig CPU_SH3
212ea0e1a9aSPaul Mundt	bool
213ea0e1a9aSPaul Mundt	select CPU_HAS_INTEVT
214ea0e1a9aSPaul Mundt	select CPU_HAS_SR_RB
2154fa48e17SPaul Mundt	select SYS_SUPPORTS_TMU
216ea0e1a9aSPaul Mundt
217ea0e1a9aSPaul Mundtconfig CPU_SH4
218ea0e1a9aSPaul Mundt	bool
219ea0e1a9aSPaul Mundt	select CPU_HAS_INTEVT
220ea0e1a9aSPaul Mundt	select CPU_HAS_SR_RB
221ea0e1a9aSPaul Mundt	select CPU_HAS_FPU if !CPU_SH4AL_DSP
2224fa48e17SPaul Mundt	select SYS_SUPPORTS_TMU
223ffb4a73dSPaul Mundt	select SYS_SUPPORTS_HUGETLBFS if MMU
224ea0e1a9aSPaul Mundt
225ea0e1a9aSPaul Mundtconfig CPU_SH4A
226ea0e1a9aSPaul Mundt	bool
227ea0e1a9aSPaul Mundt	select CPU_SH4
228ea0e1a9aSPaul Mundt
229ea0e1a9aSPaul Mundtconfig CPU_SH4AL_DSP
230ea0e1a9aSPaul Mundt	bool
231ea0e1a9aSPaul Mundt	select CPU_SH4A
232ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
233ea0e1a9aSPaul Mundt
234ea0e1a9aSPaul Mundtconfig CPU_SH5
235ea0e1a9aSPaul Mundt	bool
236ea0e1a9aSPaul Mundt	select CPU_HAS_FPU
237add47067SPaul Mundt	select SYS_SUPPORTS_TMU
238ffb4a73dSPaul Mundt	select SYS_SUPPORTS_HUGETLBFS if MMU
239ea0e1a9aSPaul Mundt
240ea0e1a9aSPaul Mundtconfig CPU_SHX2
241ea0e1a9aSPaul Mundt	bool
242ea0e1a9aSPaul Mundt
243ea0e1a9aSPaul Mundtconfig CPU_SHX3
244ea0e1a9aSPaul Mundt	bool
24501be5d63SPaul Mundt	select DMA_COHERENT
2464b478ee2SPaul Mundt	select SYS_SUPPORTS_SMP
2474b478ee2SPaul Mundt	select SYS_SUPPORTS_NUMA
248ea0e1a9aSPaul Mundt
249dc65a977SPaul Mundtconfig ARCH_SHMOBILE
250dc65a977SPaul Mundt	bool
25177594912SMagnus Damm	select ARCH_SUSPEND_POSSIBLE
252ac2c596bSMagnus Damm	select PM
253ac2c596bSMagnus Damm	select PM_RUNTIME
254dc65a977SPaul Mundt
2553cc000b5SPaul Mundtif SUPERH32
2563cc000b5SPaul Mundt
257ea0e1a9aSPaul Mundtchoice
258ea0e1a9aSPaul Mundt	prompt "Processor sub-type selection"
259ea0e1a9aSPaul Mundt
260ea0e1a9aSPaul Mundt#
261ea0e1a9aSPaul Mundt# Processor subtypes
262ea0e1a9aSPaul Mundt#
263ea0e1a9aSPaul Mundt
264ea0e1a9aSPaul Mundt# SH-2 Processor Support
265ea0e1a9aSPaul Mundt
266ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7619
267ea0e1a9aSPaul Mundt	bool "Support SH7619 processor"
268ea0e1a9aSPaul Mundt	select CPU_SH2
269f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
270ea0e1a9aSPaul Mundt
271ea0e1a9aSPaul Mundt# SH-2A Processor Support
272ea0e1a9aSPaul Mundt
2732825999eSPeter Griffinconfig CPU_SUBTYPE_SH7201
2742825999eSPeter Griffin	bool "Support SH7201 processor"
2752825999eSPeter Griffin	select CPU_SH2A
2762825999eSPeter Griffin	select CPU_HAS_FPU
277da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
2782825999eSPeter Griffin
2796d01f510SPaul Mundtconfig CPU_SUBTYPE_SH7203
2806d01f510SPaul Mundt	bool "Support SH7203 processor"
2816d01f510SPaul Mundt	select CPU_SH2A
28274d99a5eSPaul Mundt	select CPU_HAS_FPU
283f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
284da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
2856d01f510SPaul Mundt
286ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7206
287ea0e1a9aSPaul Mundt	bool "Support SH7206 processor"
288ea0e1a9aSPaul Mundt	select CPU_SH2A
289f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
290da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
291ea0e1a9aSPaul Mundt
292a8f67f4bSPaul Mundtconfig CPU_SUBTYPE_SH7263
293a8f67f4bSPaul Mundt	bool "Support SH7263 processor"
294a8f67f4bSPaul Mundt	select CPU_SH2A
29574d99a5eSPaul Mundt	select CPU_HAS_FPU
296f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
297da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
298a8f67f4bSPaul Mundt
2992ad69908SPaul Mundtconfig CPU_SUBTYPE_MXG
3002ad69908SPaul Mundt	bool "Support MX-G processor"
3012ad69908SPaul Mundt	select CPU_SH2A
302da107c6eSMagnus Damm	select SYS_SUPPORTS_MTU2
3032ad69908SPaul Mundt	help
3042ad69908SPaul Mundt	  Select MX-G if running on an R8A03022BG part.
3052ad69908SPaul Mundt
306ea0e1a9aSPaul Mundt# SH-3 Processor Support
307ea0e1a9aSPaul Mundt
308ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7705
309ea0e1a9aSPaul Mundt	bool "Support SH7705 processor"
310ea0e1a9aSPaul Mundt	select CPU_SH3
311ea0e1a9aSPaul Mundt
312ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7706
313ea0e1a9aSPaul Mundt	bool "Support SH7706 processor"
314ea0e1a9aSPaul Mundt	select CPU_SH3
315ea0e1a9aSPaul Mundt	help
316ea0e1a9aSPaul Mundt	  Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
317ea0e1a9aSPaul Mundt
318ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7707
319ea0e1a9aSPaul Mundt	bool "Support SH7707 processor"
320ea0e1a9aSPaul Mundt	select CPU_SH3
321ea0e1a9aSPaul Mundt	help
322ea0e1a9aSPaul Mundt	  Select SH7707 if you have a  60 Mhz SH-3 HD6417707 CPU.
323ea0e1a9aSPaul Mundt
324ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7708
325ea0e1a9aSPaul Mundt	bool "Support SH7708 processor"
326ea0e1a9aSPaul Mundt	select CPU_SH3
327ea0e1a9aSPaul Mundt	help
328ea0e1a9aSPaul Mundt	  Select SH7708 if you have a  60 Mhz SH-3 HD6417708S or
329ea0e1a9aSPaul Mundt	  if you have a 100 Mhz SH-3 HD6417708R CPU.
330ea0e1a9aSPaul Mundt
331ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7709
332ea0e1a9aSPaul Mundt	bool "Support SH7709 processor"
333ea0e1a9aSPaul Mundt	select CPU_SH3
334ea0e1a9aSPaul Mundt	help
335ea0e1a9aSPaul Mundt	  Select SH7709 if you have a  80 Mhz SH-3 HD6417709 CPU.
336ea0e1a9aSPaul Mundt
337ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7710
338ea0e1a9aSPaul Mundt	bool "Support SH7710 processor"
339ea0e1a9aSPaul Mundt	select CPU_SH3
340ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
341ea0e1a9aSPaul Mundt	help
342ea0e1a9aSPaul Mundt	  Select SH7710 if you have a SH3-DSP SH7710 CPU.
343ea0e1a9aSPaul Mundt
344ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7712
345ea0e1a9aSPaul Mundt	bool "Support SH7712 processor"
346ea0e1a9aSPaul Mundt	select CPU_SH3
347ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
348ea0e1a9aSPaul Mundt	help
349ea0e1a9aSPaul Mundt	  Select SH7712 if you have a SH3-DSP SH7712 CPU.
350ea0e1a9aSPaul Mundt
351ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7720
352ea0e1a9aSPaul Mundt	bool "Support SH7720 processor"
353ea0e1a9aSPaul Mundt	select CPU_SH3
354ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
3552b23a882SMagnus Damm	select SYS_SUPPORTS_CMT
356ea0e1a9aSPaul Mundt	help
357ea0e1a9aSPaul Mundt	  Select SH7720 if you have a SH3-DSP SH7720 CPU.
358ea0e1a9aSPaul Mundt
35931a49c4bSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7721
36031a49c4bSYoshihiro Shimoda	bool "Support SH7721 processor"
36131a49c4bSYoshihiro Shimoda	select CPU_SH3
36231a49c4bSYoshihiro Shimoda	select CPU_HAS_DSP
3632b23a882SMagnus Damm	select SYS_SUPPORTS_CMT
36431a49c4bSYoshihiro Shimoda	help
36531a49c4bSYoshihiro Shimoda	  Select SH7721 if you have a SH3-DSP SH7721 CPU.
36631a49c4bSYoshihiro Shimoda
367ea0e1a9aSPaul Mundt# SH-4 Processor Support
368ea0e1a9aSPaul Mundt
369ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750
370ea0e1a9aSPaul Mundt	bool "Support SH7750 processor"
371ea0e1a9aSPaul Mundt	select CPU_SH4
372ea0e1a9aSPaul Mundt	help
373ea0e1a9aSPaul Mundt	  Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
374ea0e1a9aSPaul Mundt
375ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7091
376ea0e1a9aSPaul Mundt	bool "Support SH7091 processor"
377ea0e1a9aSPaul Mundt	select CPU_SH4
378ea0e1a9aSPaul Mundt	help
379ea0e1a9aSPaul Mundt	  Select SH7091 if you have an SH-4 based Sega device (such as
380ea0e1a9aSPaul Mundt	  the Dreamcast, Naomi, and Naomi 2).
381ea0e1a9aSPaul Mundt
382ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750R
383ea0e1a9aSPaul Mundt	bool "Support SH7750R processor"
384ea0e1a9aSPaul Mundt	select CPU_SH4
385ea0e1a9aSPaul Mundt
386ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750S
387ea0e1a9aSPaul Mundt	bool "Support SH7750S processor"
388ea0e1a9aSPaul Mundt	select CPU_SH4
389ea0e1a9aSPaul Mundt
390ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751
391ea0e1a9aSPaul Mundt	bool "Support SH7751 processor"
392ea0e1a9aSPaul Mundt	select CPU_SH4
393ea0e1a9aSPaul Mundt	help
394ea0e1a9aSPaul Mundt	  Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
395ea0e1a9aSPaul Mundt	  or if you have a HD6417751R CPU.
396ea0e1a9aSPaul Mundt
397ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751R
398ea0e1a9aSPaul Mundt	bool "Support SH7751R processor"
399ea0e1a9aSPaul Mundt	select CPU_SH4
400ea0e1a9aSPaul Mundt
401ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7760
402ea0e1a9aSPaul Mundt	bool "Support SH7760 processor"
403ea0e1a9aSPaul Mundt	select CPU_SH4
404ea0e1a9aSPaul Mundt
405ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH4_202
406ea0e1a9aSPaul Mundt	bool "Support SH4-202 processor"
407ea0e1a9aSPaul Mundt	select CPU_SH4
408ea0e1a9aSPaul Mundt
409ea0e1a9aSPaul Mundt# SH-4A Processor Support
410ea0e1a9aSPaul Mundt
411178dd0cdSPaul Mundtconfig CPU_SUBTYPE_SH7723
412178dd0cdSPaul Mundt	bool "Support SH7723 processor"
413178dd0cdSPaul Mundt	select CPU_SH4A
414178dd0cdSPaul Mundt	select CPU_SHX2
415dc65a977SPaul Mundt	select ARCH_SHMOBILE
416178dd0cdSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
417f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
418178dd0cdSPaul Mundt	help
419178dd0cdSPaul Mundt	  Select SH7723 if you have an SH-MobileR2 CPU.
420178dd0cdSPaul Mundt
4210207a2efSKuninori Morimotoconfig CPU_SUBTYPE_SH7724
4220207a2efSKuninori Morimoto	bool "Support SH7724 processor"
4230207a2efSKuninori Morimoto	select CPU_SH4A
4240207a2efSKuninori Morimoto	select CPU_SHX2
42559fe700dSPaul Mundt	select ARCH_SHMOBILE
4260207a2efSKuninori Morimoto	select ARCH_SPARSEMEM_ENABLE
4270207a2efSKuninori Morimoto	select SYS_SUPPORTS_CMT
4280207a2efSKuninori Morimoto	help
4290207a2efSKuninori Morimoto	  Select SH7724 if you have an SH-MobileR2R CPU.
4300207a2efSKuninori Morimoto
431c01f0f1aSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7757
432c01f0f1aSYoshihiro Shimoda	bool "Support SH7757 processor"
433c01f0f1aSYoshihiro Shimoda	select CPU_SH4A
434c01f0f1aSYoshihiro Shimoda	select CPU_SHX2
435c01f0f1aSYoshihiro Shimoda	help
436c01f0f1aSYoshihiro Shimoda	  Select SH7757 if you have a SH4A SH7757 CPU.
437c01f0f1aSYoshihiro Shimoda
4387d740a06SYoshihiro Shimodaconfig CPU_SUBTYPE_SH7763
4397d740a06SYoshihiro Shimoda	bool "Support SH7763 processor"
4407d740a06SYoshihiro Shimoda	select CPU_SH4A
4417d740a06SYoshihiro Shimoda	help
4427d740a06SYoshihiro Shimoda	  Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
4437d740a06SYoshihiro Shimoda
444ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7770
445ea0e1a9aSPaul Mundt	bool "Support SH7770 processor"
446ea0e1a9aSPaul Mundt	select CPU_SH4A
447ea0e1a9aSPaul Mundt
448ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7780
449ea0e1a9aSPaul Mundt	bool "Support SH7780 processor"
450ea0e1a9aSPaul Mundt	select CPU_SH4A
451ea0e1a9aSPaul Mundt
452ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7785
453ea0e1a9aSPaul Mundt	bool "Support SH7785 processor"
454ea0e1a9aSPaul Mundt	select CPU_SH4A
455ea0e1a9aSPaul Mundt	select CPU_SHX2
456ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
457ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
458ea0e1a9aSPaul Mundt
45955ba99ebSKuninori Morimotoconfig CPU_SUBTYPE_SH7786
46055ba99ebSKuninori Morimoto	bool "Support SH7786 processor"
46155ba99ebSKuninori Morimoto	select CPU_SH4A
46237042fbdSPaul Mundt	select CPU_SHX3
4638263a67eSPaul Mundt	select CPU_HAS_PTEAEX
4642eb2a436SPaul Mundt	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
46555ba99ebSKuninori Morimoto
466ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SHX3
467ea0e1a9aSPaul Mundt	bool "Support SH-X3 processor"
468ea0e1a9aSPaul Mundt	select CPU_SH4A
469ea0e1a9aSPaul Mundt	select CPU_SHX3
4705840263eSPaul Mundt	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
471ea0e1a9aSPaul Mundt
472ea0e1a9aSPaul Mundt# SH4AL-DSP Processor Support
473ea0e1a9aSPaul Mundt
474ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7343
475ea0e1a9aSPaul Mundt	bool "Support SH7343 processor"
476ea0e1a9aSPaul Mundt	select CPU_SH4AL_DSP
477dc65a977SPaul Mundt	select ARCH_SHMOBILE
478f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
479ea0e1a9aSPaul Mundt
480ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7722
481ea0e1a9aSPaul Mundt	bool "Support SH7722 processor"
482ea0e1a9aSPaul Mundt	select CPU_SH4AL_DSP
483ea0e1a9aSPaul Mundt	select CPU_SHX2
484dc65a977SPaul Mundt	select ARCH_SHMOBILE
485ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
486ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
487f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
488ea0e1a9aSPaul Mundt
4899109a30eSMagnus Dammconfig CPU_SUBTYPE_SH7366
4909109a30eSMagnus Damm	bool "Support SH7366 processor"
4919109a30eSMagnus Damm	select CPU_SH4AL_DSP
4929109a30eSMagnus Damm	select CPU_SHX2
493dc65a977SPaul Mundt	select ARCH_SHMOBILE
4949109a30eSMagnus Damm	select ARCH_SPARSEMEM_ENABLE
4959109a30eSMagnus Damm	select SYS_SUPPORTS_NUMA
496f5ad881bSPaul Mundt	select SYS_SUPPORTS_CMT
4979109a30eSMagnus Damm
4983cc000b5SPaul Mundtendchoice
4993cc000b5SPaul Mundt
5003cc000b5SPaul Mundtendif
5013cc000b5SPaul Mundt
5023cc000b5SPaul Mundtif SUPERH64
5033cc000b5SPaul Mundt
5043cc000b5SPaul Mundtchoice
5053cc000b5SPaul Mundt	prompt "Processor sub-type selection"
5063cc000b5SPaul Mundt
507ea0e1a9aSPaul Mundt# SH-5 Processor Support
508ea0e1a9aSPaul Mundt
509ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_101
510ea0e1a9aSPaul Mundt	bool "Support SH5-101 processor"
511ea0e1a9aSPaul Mundt	select CPU_SH5
512ea0e1a9aSPaul Mundt
513ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_103
514ea0e1a9aSPaul Mundt	bool "Support SH5-103 processor"
5158ef97dd7SPaul Mundt	select CPU_SH5
516ea0e1a9aSPaul Mundt
517ea0e1a9aSPaul Mundtendchoice
518ea0e1a9aSPaul Mundt
5193cc000b5SPaul Mundtendif
5203cc000b5SPaul Mundt
521ea0e1a9aSPaul Mundtsource "arch/sh/mm/Kconfig"
522939a24a6SPaul Mundt
523ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.cpu"
524ea0e1a9aSPaul Mundt
525939a24a6SPaul Mundtsource "arch/sh/boards/Kconfig"
526ea0e1a9aSPaul Mundt
527ea0e1a9aSPaul Mundtmenu "Timer and clock configuration"
528ea0e1a9aSPaul Mundt
5299570ef20SMagnus Dammconfig SH_TIMER_TMU
5309570ef20SMagnus Damm	bool "TMU timer driver"
531f19900b2SMagnus Damm	depends on SYS_SUPPORTS_TMU
5329570ef20SMagnus Damm	default y
5339570ef20SMagnus Damm	help
5349570ef20SMagnus Damm	  This enables the build of the TMU timer driver.
5359570ef20SMagnus Damm
536f5ad881bSPaul Mundtconfig SH_TIMER_CMT
537f425752fSMagnus Damm	bool "CMT timer driver"
538f425752fSMagnus Damm	depends on SYS_SUPPORTS_CMT
539f425752fSMagnus Damm	default y
540f425752fSMagnus Damm	help
541f425752fSMagnus Damm	  This enables build of the CMT timer driver.
542f5ad881bSPaul Mundt
543d5ed4c2eSMagnus Dammconfig SH_TIMER_MTU2
544d5ed4c2eSMagnus Damm	bool "MTU2 timer driver"
5453280c886SMagnus Damm	depends on SYS_SUPPORTS_MTU2
546d5ed4c2eSMagnus Damm	default y
547d5ed4c2eSMagnus Damm	help
548d5ed4c2eSMagnus Damm	  This enables build of the MTU2 timer driver.
549d5ed4c2eSMagnus Damm
550ea0e1a9aSPaul Mundtconfig SH_PCLK_FREQ
551ea0e1a9aSPaul Mundt	int "Peripheral clock frequency (in Hz)"
5528152a74bSPaul Mundt	depends on SH_CLK_CPG_LEGACY
553ea0e1a9aSPaul Mundt	default "31250000" if CPU_SUBTYPE_SH7619
5548152a74bSPaul Mundt	default "33333333" if CPU_SUBTYPE_SH7770 || \
5558152a74bSPaul Mundt			      CPU_SUBTYPE_SH7760 || \
5568152a74bSPaul Mundt			      CPU_SUBTYPE_SH7705 || \
5578152a74bSPaul Mundt			      CPU_SUBTYPE_SH7203 || \
5588152a74bSPaul Mundt			      CPU_SUBTYPE_SH7206 || \
5598152a74bSPaul Mundt			      CPU_SUBTYPE_SH7263 || \
56043a1839cSPaul Mundt			      CPU_SUBTYPE_MXG
561ea0e1a9aSPaul Mundt	default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
562ea0e1a9aSPaul Mundt	default "66000000" if CPU_SUBTYPE_SH4_202
563ea0e1a9aSPaul Mundt	default "50000000"
564ea0e1a9aSPaul Mundt	help
565ea0e1a9aSPaul Mundt	  This option is used to specify the peripheral clock frequency.
566ea0e1a9aSPaul Mundt	  This is necessary for determining the reference clock value on
567ea0e1a9aSPaul Mundt	  platforms lacking an RTC.
568ea0e1a9aSPaul Mundt
56936aa1e32SPaul Mundtconfig SH_CLK_CPG
57036aa1e32SPaul Mundt	def_bool y
57136aa1e32SPaul Mundt
572253b0887SPaul Mundtconfig SH_CLK_CPG_LEGACY
57336aa1e32SPaul Mundt	depends on SH_CLK_CPG
57443a1839cSPaul Mundt	def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \
57543a1839cSPaul Mundt		      !CPU_SUBTYPE_SH7786
576253b0887SPaul Mundt
577ea0e1a9aSPaul Mundtconfig SH_CLK_MD
578ea0e1a9aSPaul Mundt	int "CPU Mode Pin Setting"
5796d01f510SPaul Mundt	depends on CPU_SH2
580ea0e1a9aSPaul Mundt	default 6 if CPU_SUBTYPE_SH7206
581ea0e1a9aSPaul Mundt	default 5 if CPU_SUBTYPE_SH7619
582ea0e1a9aSPaul Mundt	default 0
583ea0e1a9aSPaul Mundt	help
584ea0e1a9aSPaul Mundt	  MD2 - MD0 pin setting.
585ea0e1a9aSPaul Mundt
586ea0e1a9aSPaul Mundtsource "kernel/time/Kconfig"
587ea0e1a9aSPaul Mundt
588ea0e1a9aSPaul Mundtendmenu
589ea0e1a9aSPaul Mundt
590ea0e1a9aSPaul Mundtmenu "CPU Frequency scaling"
591ea0e1a9aSPaul Mundt
592ea0e1a9aSPaul Mundtsource "drivers/cpufreq/Kconfig"
593ea0e1a9aSPaul Mundt
594ea0e1a9aSPaul Mundtconfig SH_CPU_FREQ
595ea0e1a9aSPaul Mundt	tristate "SuperH CPU Frequency driver"
596ea0e1a9aSPaul Mundt	depends on CPU_FREQ
597ea0e1a9aSPaul Mundt	select CPU_FREQ_TABLE
598ea0e1a9aSPaul Mundt	help
5998a655053SPaul Mundt	  This adds the cpufreq driver for SuperH. Any CPU that supports
6008a655053SPaul Mundt	  clock rate rounding through the clock framework can use this
6018a655053SPaul Mundt	  driver. While it will make the kernel slightly larger, this is
6028a655053SPaul Mundt	  harmless for CPUs that don't support rate rounding. The driver
6038a655053SPaul Mundt	  will also generate a notice in the boot log before disabling
6048a655053SPaul Mundt	  itself if the CPU in question is not capable of rate rounding.
605ea0e1a9aSPaul Mundt
606ea0e1a9aSPaul Mundt	  For details, take a look at <file:Documentation/cpu-freq>.
607ea0e1a9aSPaul Mundt
608ea0e1a9aSPaul Mundt	  If unsure, say N.
609ea0e1a9aSPaul Mundt
610ea0e1a9aSPaul Mundtendmenu
611ea0e1a9aSPaul Mundt
612ea0e1a9aSPaul Mundtsource "arch/sh/drivers/Kconfig"
613ea0e1a9aSPaul Mundt
614ea0e1a9aSPaul Mundtendmenu
615ea0e1a9aSPaul Mundt
616ea0e1a9aSPaul Mundtmenu "Kernel features"
617ea0e1a9aSPaul Mundt
618ea0e1a9aSPaul Mundtsource kernel/Kconfig.hz
619ea0e1a9aSPaul Mundt
620ea0e1a9aSPaul Mundtconfig KEXEC
621ea0e1a9aSPaul Mundt	bool "kexec system call (EXPERIMENTAL)"
622f36b59d1SNobuhiro Iwamatsu	depends on SUPERH32 && EXPERIMENTAL && MMU
623ea0e1a9aSPaul Mundt	help
624ea0e1a9aSPaul Mundt	  kexec is a system call that implements the ability to shutdown your
625ea0e1a9aSPaul Mundt	  current kernel, and to start another kernel.  It is like a reboot
626ea0e1a9aSPaul Mundt	  but it is independent of the system firmware.  And like a reboot
627ea0e1a9aSPaul Mundt	  you can start any kernel with it, not just Linux.
628ea0e1a9aSPaul Mundt
629ea0e1a9aSPaul Mundt	  The name comes from the similarity to the exec system call.
630ea0e1a9aSPaul Mundt
631ea0e1a9aSPaul Mundt	  It is an ongoing process to be certain the hardware in a machine
632ea0e1a9aSPaul Mundt	  is properly shutdown, so do not be surprised if this code does not
633ea0e1a9aSPaul Mundt	  initially work for you.  It may help to enable device hotplugging
634ea0e1a9aSPaul Mundt	  support.  As of this writing the exact hardware interface is
635ea0e1a9aSPaul Mundt	  strongly in flux, so no good recommendation can be made.
636ea0e1a9aSPaul Mundt
637ea0e1a9aSPaul Mundtconfig CRASH_DUMP
638ea0e1a9aSPaul Mundt	bool "kernel crash dumps (EXPERIMENTAL)"
639d523e1aeSPaul Mundt	depends on SUPERH32 && EXPERIMENTAL && BROKEN_ON_SMP
640ea0e1a9aSPaul Mundt	help
641ea0e1a9aSPaul Mundt	  Generate crash dump after being started by kexec.
642ea0e1a9aSPaul Mundt	  This should be normally only set in special crash dump kernels
643ea0e1a9aSPaul Mundt	  which are loaded in the main kernel with kexec-tools into
644ea0e1a9aSPaul Mundt	  a specially reserved region and then later executed after
645ea0e1a9aSPaul Mundt	  a crash by kdump/kexec. The crash dump kernel must be compiled
646ea0e1a9aSPaul Mundt	  to a memory address not used by the main kernel using
647ea0e1a9aSPaul Mundt	  MEMORY_START.
648ea0e1a9aSPaul Mundt
649ea0e1a9aSPaul Mundt	  For more details see Documentation/kdump/kdump.txt
650ea0e1a9aSPaul Mundt
651b7cf6ddcSMagnus Dammconfig KEXEC_JUMP
652b7cf6ddcSMagnus Damm	bool "kexec jump (EXPERIMENTAL)"
653b7cf6ddcSMagnus Damm	depends on SUPERH32 && KEXEC && HIBERNATION && EXPERIMENTAL
654b7cf6ddcSMagnus Damm	help
655b7cf6ddcSMagnus Damm	  Jump between original kernel and kexeced kernel and invoke
656b7cf6ddcSMagnus Damm	  code via KEXEC
657b7cf6ddcSMagnus Damm
658c4637d47SPaul Mundtconfig SECCOMP
659c4637d47SPaul Mundt	bool "Enable seccomp to safely compute untrusted bytecode"
660c4637d47SPaul Mundt	depends on PROC_FS
661c4637d47SPaul Mundt	help
662c4637d47SPaul Mundt	  This kernel feature is useful for number crunching applications
663c4637d47SPaul Mundt	  that may need to compute untrusted bytecode during their
664c4637d47SPaul Mundt	  execution. By using pipes or other transports made available to
665c4637d47SPaul Mundt	  the process as file descriptors supporting the read/write
666c4637d47SPaul Mundt	  syscalls, it's possible to isolate those applications in
667c4637d47SPaul Mundt	  their own address space using seccomp. Once seccomp is
668c4637d47SPaul Mundt	  enabled via prctl, it cannot be disabled and the task is only
669c4637d47SPaul Mundt	  allowed to execute a few safe syscalls defined by each seccomp
670c4637d47SPaul Mundt	  mode.
671c4637d47SPaul Mundt
672c4637d47SPaul Mundt	  If unsure, say N.
673c4637d47SPaul Mundt
674ea0e1a9aSPaul Mundtconfig SMP
675ea0e1a9aSPaul Mundt	bool "Symmetric multi-processing support"
676ea0e1a9aSPaul Mundt	depends on SYS_SUPPORTS_SMP
677490f5de5SJens Axboe	select USE_GENERIC_SMP_HELPERS
678ea0e1a9aSPaul Mundt	---help---
679ea0e1a9aSPaul Mundt	  This enables support for systems with more than one CPU. If you have
680ea0e1a9aSPaul Mundt	  a system with only one CPU, like most personal computers, say N. If
681ea0e1a9aSPaul Mundt	  you have a system with more than one CPU, say Y.
682ea0e1a9aSPaul Mundt
683ea0e1a9aSPaul Mundt	  If you say N here, the kernel will run on single and multiprocessor
684ea0e1a9aSPaul Mundt	  machines, but will use only one CPU of a multiprocessor machine. If
685ea0e1a9aSPaul Mundt	  you say Y here, the kernel will run on many, but not all,
686ea0e1a9aSPaul Mundt	  singleprocessor machines. On a singleprocessor machine, the kernel
687ea0e1a9aSPaul Mundt	  will run faster if you say N here.
688ea0e1a9aSPaul Mundt
689ea0e1a9aSPaul Mundt	  People using multiprocessor machines who say Y here should also say
690ea0e1a9aSPaul Mundt	  Y to "Enhanced Real Time Clock Support", below.
691ea0e1a9aSPaul Mundt
69203502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
69303502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
694ea0e1a9aSPaul Mundt
695ea0e1a9aSPaul Mundt	  If you don't know what to do here, say N.
696ea0e1a9aSPaul Mundt
697ea0e1a9aSPaul Mundtconfig NR_CPUS
698ea0e1a9aSPaul Mundt	int "Maximum number of CPUs (2-32)"
699ea0e1a9aSPaul Mundt	range 2 32
700ea0e1a9aSPaul Mundt	depends on SMP
7012eb2a436SPaul Mundt	default "4" if CPU_SUBTYPE_SHX3
702ea0e1a9aSPaul Mundt	default "2"
703ea0e1a9aSPaul Mundt	help
704ea0e1a9aSPaul Mundt	  This allows you to specify the maximum number of CPUs which this
705ea0e1a9aSPaul Mundt	  kernel will support.  The maximum supported value is 32 and the
706ea0e1a9aSPaul Mundt	  minimum value which makes sense is 2.
707ea0e1a9aSPaul Mundt
708ea0e1a9aSPaul Mundt	  This is purely to save memory - each supported CPU adds
709ea0e1a9aSPaul Mundt	  approximately eight kilobytes to the kernel image.
710ea0e1a9aSPaul Mundt
711763142d1SPaul Mundtconfig HOTPLUG_CPU
712763142d1SPaul Mundt	bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
713763142d1SPaul Mundt	depends on SMP && HOTPLUG && EXPERIMENTAL
714763142d1SPaul Mundt	help
715763142d1SPaul Mundt	  Say Y here to experiment with turning CPUs off and on.  CPUs
716763142d1SPaul Mundt	  can be controlled through /sys/devices/system/cpu.
717763142d1SPaul Mundt
718ea0e1a9aSPaul Mundtsource "kernel/Kconfig.preempt"
719ea0e1a9aSPaul Mundt
720ea0e1a9aSPaul Mundtconfig GUSA
721ea0e1a9aSPaul Mundt	def_bool y
7221efe4ce3SStuart Menefy	depends on !SMP && SUPERH32
723ea0e1a9aSPaul Mundt	help
724ea0e1a9aSPaul Mundt	  This enables support for gUSA (general UserSpace Atomicity).
725ea0e1a9aSPaul Mundt	  This is the default implementation for both UP and non-ll/sc
726ea0e1a9aSPaul Mundt	  CPUs, and is used by the libc, amongst others.
727ea0e1a9aSPaul Mundt
728ea0e1a9aSPaul Mundt	  For additional information, design information can be found
729ea0e1a9aSPaul Mundt	  in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
730ea0e1a9aSPaul Mundt
731ea0e1a9aSPaul Mundt	  This should only be disabled for special cases where alternate
732ea0e1a9aSPaul Mundt	  atomicity implementations exist.
733ea0e1a9aSPaul Mundt
7341efe4ce3SStuart Menefyconfig GUSA_RB
7351efe4ce3SStuart Menefy	bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
7361efe4ce3SStuart Menefy	depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
7371efe4ce3SStuart Menefy	help
7381efe4ce3SStuart Menefy	  Enabling this option will allow the kernel to implement some
739692105b8SMatt LaPlante	  atomic operations using a software implementation of load-locked/
7401efe4ce3SStuart Menefy	  store-conditional (LLSC). On machines which do not have hardware
7411efe4ce3SStuart Menefy	  LLSC, this should be more efficient than the other alternative of
742692105b8SMatt LaPlante	  disabling interrupts around the atomic sequence.
7431efe4ce3SStuart Menefy
74443b8774dSPaul Mundtsource "drivers/sh/Kconfig"
74543b8774dSPaul Mundt
746ea0e1a9aSPaul Mundtendmenu
747ea0e1a9aSPaul Mundt
748ea0e1a9aSPaul Mundtmenu "Boot options"
749ea0e1a9aSPaul Mundt
750ea0e1a9aSPaul Mundtconfig ZERO_PAGE_OFFSET
751b412a49aSPaul Mundt	hex
752b412a49aSPaul Mundt	default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \
753b412a49aSPaul Mundt				SH_7751_SOLUTION_ENGINE
754b412a49aSPaul Mundt	default "0x00004000" if PAGE_SIZE_16KB || SH_SH03
755ea0e1a9aSPaul Mundt	default "0x00002000" if PAGE_SIZE_8KB
756ea0e1a9aSPaul Mundt	default "0x00001000"
757ea0e1a9aSPaul Mundt	help
758ea0e1a9aSPaul Mundt	  This sets the default offset of zero page.
759ea0e1a9aSPaul Mundt
760ea0e1a9aSPaul Mundtconfig BOOT_LINK_OFFSET
761b412a49aSPaul Mundt	hex
762b412a49aSPaul Mundt	default "0x00210000" if SH_SHMIN
763a2e76c80SPaul Mundt	default "0x00400000" if SH_CAYMAN
764b412a49aSPaul Mundt	default "0x00810000" if SH_7780_SOLUTION_ENGINE
765b412a49aSPaul Mundt	default "0x009e0000" if SH_TITAN
766b412a49aSPaul Mundt	default "0x01800000" if SH_SDK7780
767b412a49aSPaul Mundt	default "0x02000000" if SH_EDOSK7760
768ea0e1a9aSPaul Mundt	default "0x00800000"
769ea0e1a9aSPaul Mundt	help
770ea0e1a9aSPaul Mundt	  This option allows you to set the link address offset of the zImage.
771ea0e1a9aSPaul Mundt	  This can be useful if you are on a board which has a small amount of
772ea0e1a9aSPaul Mundt	  memory.
773ea0e1a9aSPaul Mundt
774b412a49aSPaul Mundtconfig ENTRY_OFFSET
775b412a49aSPaul Mundt	hex
776b412a49aSPaul Mundt	default "0x00001000" if PAGE_SIZE_4KB
777b412a49aSPaul Mundt	default "0x00002000" if PAGE_SIZE_8KB
778b412a49aSPaul Mundt	default "0x00004000" if PAGE_SIZE_16KB
779b412a49aSPaul Mundt	default "0x00010000" if PAGE_SIZE_64KB
780b412a49aSPaul Mundt	default "0x00000000"
781b412a49aSPaul Mundt
7824705b2e8SMagnus Dammconfig ROMIMAGE_MMCIF
7834705b2e8SMagnus Damm	bool "Include MMCIF loader in romImage (EXPERIMENTAL)"
7844705b2e8SMagnus Damm	depends on CPU_SUBTYPE_SH7724 && EXPERIMENTAL
7854705b2e8SMagnus Damm	help
7864705b2e8SMagnus Damm	  Say Y here to include experimental MMCIF loading code in
7874705b2e8SMagnus Damm	  romImage. With this enabled it is possible to write the romImage
7884705b2e8SMagnus Damm	  kernel image to an MMC card and boot the kernel straight from
7894705b2e8SMagnus Damm	  the reset vector. At reset the processor Mask ROM will load the
7904705b2e8SMagnus Damm	  first part of the romImage which in turn loads the rest the kernel
7914705b2e8SMagnus Damm	  image to RAM using the MMCIF hardware block.
7924705b2e8SMagnus Damm
793d724a9c9SPawel Mollchoice
794d724a9c9SPawel Moll	prompt "Kernel command line"
795d724a9c9SPawel Moll	optional
796d724a9c9SPawel Moll	default CMDLINE_OVERWRITE
797d724a9c9SPawel Moll	help
798d724a9c9SPawel Moll	  Setting this option allows the kernel command line arguments
799d724a9c9SPawel Moll	  to be set.
800d724a9c9SPawel Moll
801d724a9c9SPawel Mollconfig CMDLINE_OVERWRITE
802d724a9c9SPawel Moll	bool "Overwrite bootloader kernel arguments"
803d724a9c9SPawel Moll	help
804d724a9c9SPawel Moll	  Given string will overwrite any arguments passed in by
805d724a9c9SPawel Moll	  a bootloader.
806d724a9c9SPawel Moll
807d724a9c9SPawel Mollconfig CMDLINE_EXTEND
808d724a9c9SPawel Moll	bool "Extend bootloader kernel arguments"
809d724a9c9SPawel Moll	help
810d724a9c9SPawel Moll	  Given string will be concatenated with arguments passed in
811d724a9c9SPawel Moll	  by a bootloader.
812d724a9c9SPawel Moll
813d724a9c9SPawel Mollendchoice
814ea0e1a9aSPaul Mundt
815ea0e1a9aSPaul Mundtconfig CMDLINE
816d724a9c9SPawel Moll	string "Kernel command line arguments string"
817d724a9c9SPawel Moll	depends on CMDLINE_OVERWRITE || CMDLINE_EXTEND
818ea0e1a9aSPaul Mundt	default "console=ttySC1,115200"
819ea0e1a9aSPaul Mundt
820ea0e1a9aSPaul Mundtendmenu
821ea0e1a9aSPaul Mundt
822ea0e1a9aSPaul Mundtmenu "Bus options"
823ea0e1a9aSPaul Mundt
824ea0e1a9aSPaul Mundtconfig SUPERHYWAY
825ea0e1a9aSPaul Mundt	tristate "SuperHyway Bus support"
826ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH4_202
827ea0e1a9aSPaul Mundt
828ea0e1a9aSPaul Mundtconfig MAPLE
829ea0e1a9aSPaul Mundt	bool "Maple Bus support"
830ea0e1a9aSPaul Mundt	depends on SH_DREAMCAST
831ea0e1a9aSPaul Mundt	help
832ea0e1a9aSPaul Mundt	 The Maple Bus is SEGA's serial communication bus for peripherals
833ea0e1a9aSPaul Mundt	 on the Dreamcast. Without this bus support you won't be able to
834ea0e1a9aSPaul Mundt	 get your Dreamcast keyboard etc to work, so most users
835ea0e1a9aSPaul Mundt	 probably want to say 'Y' here, unless you are only using the
836ea0e1a9aSPaul Mundt	 Dreamcast with a serial line terminal or a remote network
837ea0e1a9aSPaul Mundt	 connection.
838ea0e1a9aSPaul Mundt
8397693465dSPaul Mundtconfig PCI
8407693465dSPaul Mundt	bool "PCI support"
8417693465dSPaul Mundt	depends on SYS_SUPPORTS_PCI
842320e68daSPaul Mundt	select PCI_DOMAINS
8437693465dSPaul Mundt	help
8447693465dSPaul Mundt	  Find out whether you have a PCI motherboard. PCI is the name of a
8457693465dSPaul Mundt	  bus system, i.e. the way the CPU talks to the other stuff inside
8467693465dSPaul Mundt	  your box. If you have PCI, say Y, otherwise N.
847ea0e1a9aSPaul Mundt
848320e68daSPaul Mundtconfig PCI_DOMAINS
849320e68daSPaul Mundt	bool
850320e68daSPaul Mundt
851e16038abSPaul Mundtsource "drivers/pci/pcie/Kconfig"
852e16038abSPaul Mundt
853ea0e1a9aSPaul Mundtsource "drivers/pci/Kconfig"
854ea0e1a9aSPaul Mundt
855ea0e1a9aSPaul Mundtsource "drivers/pcmcia/Kconfig"
856ea0e1a9aSPaul Mundt
857ea0e1a9aSPaul Mundtsource "drivers/pci/hotplug/Kconfig"
858ea0e1a9aSPaul Mundt
859ea0e1a9aSPaul Mundtendmenu
860ea0e1a9aSPaul Mundt
861ea0e1a9aSPaul Mundtmenu "Executable file formats"
862ea0e1a9aSPaul Mundt
863ea0e1a9aSPaul Mundtsource "fs/Kconfig.binfmt"
864ea0e1a9aSPaul Mundt
865ea0e1a9aSPaul Mundtendmenu
866ea0e1a9aSPaul Mundt
867ea0e1a9aSPaul Mundtmenu "Power management options (EXPERIMENTAL)"
868af998a9aSMagnus Dammdepends on EXPERIMENTAL
869f4cb5700SJohannes Berg
870c6f17cb2SMagnus Dammsource "kernel/power/Kconfig"
871c6f17cb2SMagnus Damm
872c6f17cb2SMagnus Dammsource "drivers/cpuidle/Kconfig"
873ea0e1a9aSPaul Mundt
874ea0e1a9aSPaul Mundtendmenu
875ea0e1a9aSPaul Mundt
876ea0e1a9aSPaul Mundtsource "net/Kconfig"
877ea0e1a9aSPaul Mundt
878ea0e1a9aSPaul Mundtsource "drivers/Kconfig"
879ea0e1a9aSPaul Mundt
880ea0e1a9aSPaul Mundtsource "fs/Kconfig"
881ea0e1a9aSPaul Mundt
882ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.debug"
883ea0e1a9aSPaul Mundt
884ea0e1a9aSPaul Mundtsource "security/Kconfig"
885ea0e1a9aSPaul Mundt
886ea0e1a9aSPaul Mundtsource "crypto/Kconfig"
887ea0e1a9aSPaul Mundt
8885f737b39SMagnus Dammmenuconfig VIRTUALIZATION
8895f737b39SMagnus Damm	bool "Virtualization"
8905f737b39SMagnus Damm	default n
8915f737b39SMagnus Damm	---help---
8925f737b39SMagnus Damm	  Say Y here to get to see options for using your Linux host to run other
8935f737b39SMagnus Damm	  operating systems inside virtual machines (guests).
8945f737b39SMagnus Damm	  This option alone does not add any kernel code.
8955f737b39SMagnus Damm
8965f737b39SMagnus Damm	  If you say N, all options in this submenu will be skipped and disabled.
8975f737b39SMagnus Damm
8985f737b39SMagnus Dammif VIRTUALIZATION
8995f737b39SMagnus Damm
9005f737b39SMagnus Dammsource drivers/virtio/Kconfig
9015f737b39SMagnus Damm
9025f737b39SMagnus Dammendif # VIRTUALIZATION
9035f737b39SMagnus Damm
904ea0e1a9aSPaul Mundtsource "lib/Kconfig"
905