xref: /openbmc/linux/arch/sh/Kconfig (revision d7b01f78)
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
17ea0e1a9aSPaul Mundt	help
18ea0e1a9aSPaul Mundt	  The SuperH is a RISC processor targeted for use in embedded systems
19ea0e1a9aSPaul Mundt	  and consumer electronics; it was also used in the Sega Dreamcast
20ea0e1a9aSPaul Mundt	  gaming console.  The SuperH port has a home page at
21ea0e1a9aSPaul Mundt	  <http://www.linux-sh.org/>.
22ea0e1a9aSPaul Mundt
23ea0e1a9aSPaul Mundtconfig SUPERH32
24ea0e1a9aSPaul Mundt	def_bool !SUPERH64
25d39f5450SChris Smith	select HAVE_KPROBES
26d39f5450SChris Smith	select HAVE_KRETPROBES
27694f94f2SPaul Mundt	select HAVE_FUNCTION_TRACER
28fad57febSMatt Fleming	select HAVE_FTRACE_MCOUNT_RECORD
29fad57febSMatt Fleming	select HAVE_DYNAMIC_FTRACE
30ea0e1a9aSPaul Mundt
31ea0e1a9aSPaul Mundtconfig SUPERH64
32ea0e1a9aSPaul Mundt	def_bool y if CPU_SH5
33ea0e1a9aSPaul Mundt
34f42b7e3dSPaul Mundtconfig ARCH_DEFCONFIG
35f42b7e3dSPaul Mundt	string
36f42b7e3dSPaul Mundt	default "arch/sh/configs/shx3_defconfig" if SUPERH32
37f42b7e3dSPaul Mundt	default "arch/sh/configs/cayman_defconfig" if SUPERH64
38f42b7e3dSPaul Mundt
39ea0e1a9aSPaul Mundtconfig RWSEM_GENERIC_SPINLOCK
40d7ef4fb3SHarvey Harrison	def_bool y
41ea0e1a9aSPaul Mundt
42ea0e1a9aSPaul Mundtconfig RWSEM_XCHGADD_ALGORITHM
43ea0e1a9aSPaul Mundt	bool
44ea0e1a9aSPaul Mundt
45ea0e1a9aSPaul Mundtconfig GENERIC_BUG
46ea0e1a9aSPaul Mundt	def_bool y
47a82d53ecSPaul Mundt	depends on BUG && SUPERH32
48ea0e1a9aSPaul Mundt
49ea0e1a9aSPaul Mundtconfig GENERIC_FIND_NEXT_BIT
50d7ef4fb3SHarvey Harrison	def_bool y
51ea0e1a9aSPaul Mundt
52ea0e1a9aSPaul Mundtconfig GENERIC_HWEIGHT
53d7ef4fb3SHarvey Harrison	def_bool y
54ea0e1a9aSPaul Mundt
55ea0e1a9aSPaul Mundtconfig GENERIC_HARDIRQS
56d7ef4fb3SHarvey Harrison	def_bool y
57ea0e1a9aSPaul Mundt
585093c9a4SPaul Mundtconfig GENERIC_HARDIRQS_NO__DO_IRQ
595093c9a4SPaul Mundt	def_bool y
60f9d62c00SPaul Mundt	depends on SUPERH32 && (!SH_DREAMCAST && !SH_SH4202_MICRODEV && \
61f9d62c00SPaul Mundt				!SH_7751_SYSTEMH && !HD64461)
625093c9a4SPaul Mundt
63ea0e1a9aSPaul Mundtconfig GENERIC_IRQ_PROBE
64d7ef4fb3SHarvey Harrison	def_bool y
65ea0e1a9aSPaul Mundt
662967dab1SMagnus Dammconfig GENERIC_GPIO
672967dab1SMagnus Damm	def_bool n
682967dab1SMagnus Damm
69ea0e1a9aSPaul Mundtconfig GENERIC_CALIBRATE_DELAY
70cf204fa7SPaul Mundt	bool
71ea0e1a9aSPaul Mundt
72ea0e1a9aSPaul Mundtconfig GENERIC_IOMAP
73ea0e1a9aSPaul Mundt	bool
74ea0e1a9aSPaul Mundt
75ea0e1a9aSPaul Mundtconfig GENERIC_TIME
76ea0e1a9aSPaul Mundt	def_bool n
77ea0e1a9aSPaul Mundt
78ea0e1a9aSPaul Mundtconfig GENERIC_CLOCKEVENTS
79ea0e1a9aSPaul Mundt	def_bool n
80ea0e1a9aSPaul Mundt
818c24594dSPaul Mundtconfig GENERIC_CLOCKEVENTS_BROADCAST
828c24594dSPaul Mundt	bool
838c24594dSPaul Mundt
84bdcab87bSPaul Mundtconfig GENERIC_LOCKBREAK
85bdcab87bSPaul Mundt	def_bool y
86bdcab87bSPaul Mundt	depends on SMP && PREEMPT
87bdcab87bSPaul Mundt
88ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PM
89ea0e1a9aSPaul Mundt	bool
90af998a9aSMagnus Damm	depends on !SMP
91af998a9aSMagnus Damm
92af998a9aSMagnus Dammconfig ARCH_SUSPEND_POSSIBLE
93af998a9aSMagnus Damm	def_bool n
94af998a9aSMagnus Damm
95af998a9aSMagnus Dammconfig ARCH_HIBERNATION_POSSIBLE
96af998a9aSMagnus Damm	def_bool n
97ea0e1a9aSPaul Mundt
98ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_APM_EMULATION
99ea0e1a9aSPaul Mundt	bool
100af998a9aSMagnus Damm	select ARCH_SUSPEND_POSSIBLE
101ea0e1a9aSPaul Mundt
102ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_SMP
103ea0e1a9aSPaul Mundt	bool
104ea0e1a9aSPaul Mundt
105ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_NUMA
106ea0e1a9aSPaul Mundt	bool
107ea0e1a9aSPaul Mundt
108ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PCI
109ea0e1a9aSPaul Mundt	bool
110ea0e1a9aSPaul Mundt
111ea0e1a9aSPaul Mundtconfig STACKTRACE_SUPPORT
112d7ef4fb3SHarvey Harrison	def_bool y
113ea0e1a9aSPaul Mundt
114ea0e1a9aSPaul Mundtconfig LOCKDEP_SUPPORT
115d7ef4fb3SHarvey Harrison	def_bool y
116ea0e1a9aSPaul Mundt
1175a89f1adSPaul Mundtconfig HAVE_LATENCYTOP_SUPPORT
1185a89f1adSPaul Mundt	def_bool y
1195a89f1adSPaul Mundt	depends on !SMP
1205a89f1adSPaul Mundt
121ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U32
122d7ef4fb3SHarvey Harrison	def_bool n
123ea0e1a9aSPaul Mundt
124ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U64
125d7ef4fb3SHarvey Harrison	def_bool n
126ea0e1a9aSPaul Mundt
127ea0e1a9aSPaul Mundtconfig ARCH_NO_VIRT_TO_BUS
128ea0e1a9aSPaul Mundt	def_bool y
129ea0e1a9aSPaul Mundt
130e7cc9a73SMagnus Dammconfig IO_TRAPPED
131e7cc9a73SMagnus Damm	bool
132e7cc9a73SMagnus Damm
133ea0e1a9aSPaul Mundtsource "init/Kconfig"
134ea0e1a9aSPaul Mundt
135dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
136dc52ddc0SMatt Helsley
137ea0e1a9aSPaul Mundtmenu "System type"
138ea0e1a9aSPaul Mundt
139ea0e1a9aSPaul Mundt#
140ea0e1a9aSPaul Mundt# Processor families
141ea0e1a9aSPaul Mundt#
142ea0e1a9aSPaul Mundtconfig CPU_SH2
143ea0e1a9aSPaul Mundt	bool
144ea0e1a9aSPaul Mundt
145ea0e1a9aSPaul Mundtconfig CPU_SH2A
146ea0e1a9aSPaul Mundt	bool
147ea0e1a9aSPaul Mundt	select CPU_SH2
148ea0e1a9aSPaul Mundt
149ea0e1a9aSPaul Mundtconfig CPU_SH3
150ea0e1a9aSPaul Mundt	bool
151ea0e1a9aSPaul Mundt	select CPU_HAS_INTEVT
152ea0e1a9aSPaul Mundt	select CPU_HAS_SR_RB
153ea0e1a9aSPaul Mundt
154ea0e1a9aSPaul Mundtconfig CPU_SH4
155ea0e1a9aSPaul Mundt	bool
156ea0e1a9aSPaul Mundt	select CPU_HAS_INTEVT
157ea0e1a9aSPaul Mundt	select CPU_HAS_SR_RB
158ea0e1a9aSPaul Mundt	select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
159ea0e1a9aSPaul Mundt	select CPU_HAS_FPU if !CPU_SH4AL_DSP
160ea0e1a9aSPaul Mundt
161ea0e1a9aSPaul Mundtconfig CPU_SH4A
162ea0e1a9aSPaul Mundt	bool
163ea0e1a9aSPaul Mundt	select CPU_SH4
164ea0e1a9aSPaul Mundt
165ea0e1a9aSPaul Mundtconfig CPU_SH4AL_DSP
166ea0e1a9aSPaul Mundt	bool
167ea0e1a9aSPaul Mundt	select CPU_SH4A
168ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
169ea0e1a9aSPaul Mundt
170ea0e1a9aSPaul Mundtconfig CPU_SH5
171ea0e1a9aSPaul Mundt	bool
172ea0e1a9aSPaul Mundt	select CPU_HAS_FPU
173ea0e1a9aSPaul Mundt
174ea0e1a9aSPaul Mundtconfig CPU_SHX2
175ea0e1a9aSPaul Mundt	bool
176ea0e1a9aSPaul Mundt
177ea0e1a9aSPaul Mundtconfig CPU_SHX3
178ea0e1a9aSPaul Mundt	bool
179ea0e1a9aSPaul Mundt
180ea0e1a9aSPaul Mundtchoice
181ea0e1a9aSPaul Mundt	prompt "Processor sub-type selection"
182ea0e1a9aSPaul Mundt
183ea0e1a9aSPaul Mundt#
184ea0e1a9aSPaul Mundt# Processor subtypes
185ea0e1a9aSPaul Mundt#
186ea0e1a9aSPaul Mundt
187ea0e1a9aSPaul Mundt# SH-2 Processor Support
188ea0e1a9aSPaul Mundt
189ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7619
190ea0e1a9aSPaul Mundt	bool "Support SH7619 processor"
191ea0e1a9aSPaul Mundt	select CPU_SH2
192ea0e1a9aSPaul Mundt
193ea0e1a9aSPaul Mundt# SH-2A Processor Support
194ea0e1a9aSPaul Mundt
1952825999eSPeter Griffinconfig CPU_SUBTYPE_SH7201
1962825999eSPeter Griffin	bool "Support SH7201 processor"
1972825999eSPeter Griffin	select CPU_SH2A
1982825999eSPeter Griffin	select CPU_HAS_FPU
1992825999eSPeter Griffin
2006d01f510SPaul Mundtconfig CPU_SUBTYPE_SH7203
2016d01f510SPaul Mundt	bool "Support SH7203 processor"
2026d01f510SPaul Mundt	select CPU_SH2A
20374d99a5eSPaul Mundt	select CPU_HAS_FPU
2046d01f510SPaul Mundt
205ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7206
206ea0e1a9aSPaul Mundt	bool "Support SH7206 processor"
207ea0e1a9aSPaul Mundt	select CPU_SH2A
208ea0e1a9aSPaul Mundt
209a8f67f4bSPaul Mundtconfig CPU_SUBTYPE_SH7263
210a8f67f4bSPaul Mundt	bool "Support SH7263 processor"
211a8f67f4bSPaul Mundt	select CPU_SH2A
21274d99a5eSPaul Mundt	select CPU_HAS_FPU
213a8f67f4bSPaul Mundt
2142ad69908SPaul Mundtconfig CPU_SUBTYPE_MXG
2152ad69908SPaul Mundt	bool "Support MX-G processor"
2162ad69908SPaul Mundt	select CPU_SH2A
2172ad69908SPaul Mundt	help
2182ad69908SPaul Mundt	  Select MX-G if running on an R8A03022BG part.
2192ad69908SPaul Mundt
220ea0e1a9aSPaul Mundt# SH-3 Processor Support
221ea0e1a9aSPaul Mundt
222ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7705
223ea0e1a9aSPaul Mundt	bool "Support SH7705 processor"
224ea0e1a9aSPaul Mundt	select CPU_SH3
225ea0e1a9aSPaul Mundt
226ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7706
227ea0e1a9aSPaul Mundt	bool "Support SH7706 processor"
228ea0e1a9aSPaul Mundt	select CPU_SH3
229ea0e1a9aSPaul Mundt	help
230ea0e1a9aSPaul Mundt	  Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
231ea0e1a9aSPaul Mundt
232ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7707
233ea0e1a9aSPaul Mundt	bool "Support SH7707 processor"
234ea0e1a9aSPaul Mundt	select CPU_SH3
235ea0e1a9aSPaul Mundt	help
236ea0e1a9aSPaul Mundt	  Select SH7707 if you have a  60 Mhz SH-3 HD6417707 CPU.
237ea0e1a9aSPaul Mundt
238ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7708
239ea0e1a9aSPaul Mundt	bool "Support SH7708 processor"
240ea0e1a9aSPaul Mundt	select CPU_SH3
241ea0e1a9aSPaul Mundt	help
242ea0e1a9aSPaul Mundt	  Select SH7708 if you have a  60 Mhz SH-3 HD6417708S or
243ea0e1a9aSPaul Mundt	  if you have a 100 Mhz SH-3 HD6417708R CPU.
244ea0e1a9aSPaul Mundt
245ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7709
246ea0e1a9aSPaul Mundt	bool "Support SH7709 processor"
247ea0e1a9aSPaul Mundt	select CPU_SH3
248ea0e1a9aSPaul Mundt	help
249ea0e1a9aSPaul Mundt	  Select SH7709 if you have a  80 Mhz SH-3 HD6417709 CPU.
250ea0e1a9aSPaul Mundt
251ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7710
252ea0e1a9aSPaul Mundt	bool "Support SH7710 processor"
253ea0e1a9aSPaul Mundt	select CPU_SH3
254ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
255ea0e1a9aSPaul Mundt	help
256ea0e1a9aSPaul Mundt	  Select SH7710 if you have a SH3-DSP SH7710 CPU.
257ea0e1a9aSPaul Mundt
258ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7712
259ea0e1a9aSPaul Mundt	bool "Support SH7712 processor"
260ea0e1a9aSPaul Mundt	select CPU_SH3
261ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
262ea0e1a9aSPaul Mundt	help
263ea0e1a9aSPaul Mundt	  Select SH7712 if you have a SH3-DSP SH7712 CPU.
264ea0e1a9aSPaul Mundt
265ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7720
266ea0e1a9aSPaul Mundt	bool "Support SH7720 processor"
267ea0e1a9aSPaul Mundt	select CPU_SH3
268ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
269ea0e1a9aSPaul Mundt	help
270ea0e1a9aSPaul Mundt	  Select SH7720 if you have a SH3-DSP SH7720 CPU.
271ea0e1a9aSPaul Mundt
27231a49c4bSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7721
27331a49c4bSYoshihiro Shimoda	bool "Support SH7721 processor"
27431a49c4bSYoshihiro Shimoda	select CPU_SH3
27531a49c4bSYoshihiro Shimoda	select CPU_HAS_DSP
27631a49c4bSYoshihiro Shimoda	help
27731a49c4bSYoshihiro Shimoda	  Select SH7721 if you have a SH3-DSP SH7721 CPU.
27831a49c4bSYoshihiro Shimoda
279ea0e1a9aSPaul Mundt# SH-4 Processor Support
280ea0e1a9aSPaul Mundt
281ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750
282ea0e1a9aSPaul Mundt	bool "Support SH7750 processor"
283ea0e1a9aSPaul Mundt	select CPU_SH4
284ea0e1a9aSPaul Mundt	help
285ea0e1a9aSPaul Mundt	  Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
286ea0e1a9aSPaul Mundt
287ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7091
288ea0e1a9aSPaul Mundt	bool "Support SH7091 processor"
289ea0e1a9aSPaul Mundt	select CPU_SH4
290ea0e1a9aSPaul Mundt	help
291ea0e1a9aSPaul Mundt	  Select SH7091 if you have an SH-4 based Sega device (such as
292ea0e1a9aSPaul Mundt	  the Dreamcast, Naomi, and Naomi 2).
293ea0e1a9aSPaul Mundt
294ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750R
295ea0e1a9aSPaul Mundt	bool "Support SH7750R processor"
296ea0e1a9aSPaul Mundt	select CPU_SH4
297ea0e1a9aSPaul Mundt
298ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750S
299ea0e1a9aSPaul Mundt	bool "Support SH7750S processor"
300ea0e1a9aSPaul Mundt	select CPU_SH4
301ea0e1a9aSPaul Mundt
302ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751
303ea0e1a9aSPaul Mundt	bool "Support SH7751 processor"
304ea0e1a9aSPaul Mundt	select CPU_SH4
305ea0e1a9aSPaul Mundt	help
306ea0e1a9aSPaul Mundt	  Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
307ea0e1a9aSPaul Mundt	  or if you have a HD6417751R CPU.
308ea0e1a9aSPaul Mundt
309ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751R
310ea0e1a9aSPaul Mundt	bool "Support SH7751R processor"
311ea0e1a9aSPaul Mundt	select CPU_SH4
312ea0e1a9aSPaul Mundt
313ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7760
314ea0e1a9aSPaul Mundt	bool "Support SH7760 processor"
315ea0e1a9aSPaul Mundt	select CPU_SH4
316ea0e1a9aSPaul Mundt
317ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH4_202
318ea0e1a9aSPaul Mundt	bool "Support SH4-202 processor"
319ea0e1a9aSPaul Mundt	select CPU_SH4
320ea0e1a9aSPaul Mundt
321ea0e1a9aSPaul Mundt# SH-4A Processor Support
322ea0e1a9aSPaul Mundt
323178dd0cdSPaul Mundtconfig CPU_SUBTYPE_SH7723
324178dd0cdSPaul Mundt	bool "Support SH7723 processor"
325178dd0cdSPaul Mundt	select CPU_SH4A
326178dd0cdSPaul Mundt	select CPU_SHX2
327178dd0cdSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
328178dd0cdSPaul Mundt	help
329178dd0cdSPaul Mundt	  Select SH7723 if you have an SH-MobileR2 CPU.
330178dd0cdSPaul Mundt
3317d740a06SYoshihiro Shimodaconfig CPU_SUBTYPE_SH7763
3327d740a06SYoshihiro Shimoda	bool "Support SH7763 processor"
3337d740a06SYoshihiro Shimoda	select CPU_SH4A
3347d740a06SYoshihiro Shimoda	help
3357d740a06SYoshihiro Shimoda	  Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
3367d740a06SYoshihiro Shimoda
337ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7770
338ea0e1a9aSPaul Mundt	bool "Support SH7770 processor"
339ea0e1a9aSPaul Mundt	select CPU_SH4A
340ea0e1a9aSPaul Mundt
341ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7780
342ea0e1a9aSPaul Mundt	bool "Support SH7780 processor"
343ea0e1a9aSPaul Mundt	select CPU_SH4A
344ea0e1a9aSPaul Mundt
345ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7785
346ea0e1a9aSPaul Mundt	bool "Support SH7785 processor"
347ea0e1a9aSPaul Mundt	select CPU_SH4A
348ea0e1a9aSPaul Mundt	select CPU_SHX2
349ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
350ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
351ea0e1a9aSPaul Mundt
352ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SHX3
353ea0e1a9aSPaul Mundt	bool "Support SH-X3 processor"
354ea0e1a9aSPaul Mundt	select CPU_SH4A
355ea0e1a9aSPaul Mundt	select CPU_SHX3
356ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
357ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
358ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_SMP
3595840263eSPaul Mundt	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
360ea0e1a9aSPaul Mundt
361ea0e1a9aSPaul Mundt# SH4AL-DSP Processor Support
362ea0e1a9aSPaul Mundt
363ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7343
364ea0e1a9aSPaul Mundt	bool "Support SH7343 processor"
365ea0e1a9aSPaul Mundt	select CPU_SH4AL_DSP
366ea0e1a9aSPaul Mundt
367ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7722
368ea0e1a9aSPaul Mundt	bool "Support SH7722 processor"
369ea0e1a9aSPaul Mundt	select CPU_SH4AL_DSP
370ea0e1a9aSPaul Mundt	select CPU_SHX2
371ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
372ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
373ea0e1a9aSPaul Mundt
3749109a30eSMagnus Dammconfig CPU_SUBTYPE_SH7366
3759109a30eSMagnus Damm	bool "Support SH7366 processor"
3769109a30eSMagnus Damm	select CPU_SH4AL_DSP
3779109a30eSMagnus Damm	select CPU_SHX2
3789109a30eSMagnus Damm	select ARCH_SPARSEMEM_ENABLE
3799109a30eSMagnus Damm	select SYS_SUPPORTS_NUMA
3809109a30eSMagnus Damm
381ea0e1a9aSPaul Mundt# SH-5 Processor Support
382ea0e1a9aSPaul Mundt
383ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_101
384ea0e1a9aSPaul Mundt	bool "Support SH5-101 processor"
385ea0e1a9aSPaul Mundt	select CPU_SH5
386ea0e1a9aSPaul Mundt
387ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_103
388ea0e1a9aSPaul Mundt	bool "Support SH5-103 processor"
3898ef97dd7SPaul Mundt	select CPU_SH5
390ea0e1a9aSPaul Mundt
391ea0e1a9aSPaul Mundtendchoice
392ea0e1a9aSPaul Mundt
393ea0e1a9aSPaul Mundtsource "arch/sh/mm/Kconfig"
394939a24a6SPaul Mundt
395ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.cpu"
396ea0e1a9aSPaul Mundt
397939a24a6SPaul Mundtsource "arch/sh/boards/Kconfig"
398ea0e1a9aSPaul Mundt
399ea0e1a9aSPaul Mundtmenu "Timer and clock configuration"
400ea0e1a9aSPaul Mundt
401ea0e1a9aSPaul Mundtconfig SH_TMU
402d7ef4fb3SHarvey Harrison	def_bool y
403d7ef4fb3SHarvey Harrison	prompt "TMU timer support"
404ea0e1a9aSPaul Mundt	depends on CPU_SH3 || CPU_SH4
405ea0e1a9aSPaul Mundt	select GENERIC_TIME
406ea0e1a9aSPaul Mundt	select GENERIC_CLOCKEVENTS
407ea0e1a9aSPaul Mundt	help
408ea0e1a9aSPaul Mundt	  This enables the use of the TMU as the system timer.
409ea0e1a9aSPaul Mundt
410ea0e1a9aSPaul Mundtconfig SH_CMT
411d7ef4fb3SHarvey Harrison	def_bool y
412d7ef4fb3SHarvey Harrison	prompt "CMT timer support"
4132ad69908SPaul Mundt	depends on CPU_SH2 && !CPU_SUBTYPE_MXG
414ea0e1a9aSPaul Mundt	help
415ea0e1a9aSPaul Mundt	  This enables the use of the CMT as the system timer.
416ea0e1a9aSPaul Mundt
417ea0e1a9aSPaul Mundtconfig SH_MTU2
418d7ef4fb3SHarvey Harrison	def_bool n
419d7ef4fb3SHarvey Harrison	prompt "MTU2 timer support"
420ea0e1a9aSPaul Mundt	depends on CPU_SH2A
421ea0e1a9aSPaul Mundt	help
422ea0e1a9aSPaul Mundt	  This enables the use of the MTU2 as the system timer.
423ea0e1a9aSPaul Mundt
424ea0e1a9aSPaul Mundtconfig SH_TIMER_IRQ
425ea0e1a9aSPaul Mundt	int
4267d740a06SYoshihiro Shimoda	default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
4277d740a06SYoshihiro Shimoda			CPU_SUBTYPE_SH7763
428ea0e1a9aSPaul Mundt	default "86" if CPU_SUBTYPE_SH7619
429ea0e1a9aSPaul Mundt	default "140" if CPU_SUBTYPE_SH7206
4302b2d4e70SPaul Mundt	default "142" if CPU_SUBTYPE_SH7203
4312ad69908SPaul Mundt	default "238" if CPU_SUBTYPE_MXG
432ea0e1a9aSPaul Mundt	default "16"
433ea0e1a9aSPaul Mundt
434ea0e1a9aSPaul Mundtconfig SH_PCLK_FREQ
435ea0e1a9aSPaul Mundt	int "Peripheral clock frequency (in Hz)"
436ea0e1a9aSPaul Mundt	default "27000000" if CPU_SUBTYPE_SH7343
437ea0e1a9aSPaul Mundt	default "31250000" if CPU_SUBTYPE_SH7619
438ea0e1a9aSPaul Mundt	default "32000000" if CPU_SUBTYPE_SH7722
439178dd0cdSPaul Mundt	default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
440ea0e1a9aSPaul Mundt			      CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
441a8f67f4bSPaul Mundt			      CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
4422ad69908SPaul Mundt			      CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG
443ea0e1a9aSPaul Mundt	default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
444ea0e1a9aSPaul Mundt	default "66000000" if CPU_SUBTYPE_SH4_202
445ea0e1a9aSPaul Mundt	default "50000000"
446ea0e1a9aSPaul Mundt	help
447ea0e1a9aSPaul Mundt	  This option is used to specify the peripheral clock frequency.
448ea0e1a9aSPaul Mundt	  This is necessary for determining the reference clock value on
449ea0e1a9aSPaul Mundt	  platforms lacking an RTC.
450ea0e1a9aSPaul Mundt
451ea0e1a9aSPaul Mundtconfig SH_CLK_MD
452ea0e1a9aSPaul Mundt	int "CPU Mode Pin Setting"
4536d01f510SPaul Mundt	depends on CPU_SH2
454ea0e1a9aSPaul Mundt	default 6 if CPU_SUBTYPE_SH7206
455ea0e1a9aSPaul Mundt	default 5 if CPU_SUBTYPE_SH7619
456ea0e1a9aSPaul Mundt	default 0
457ea0e1a9aSPaul Mundt	help
458ea0e1a9aSPaul Mundt	  MD2 - MD0 pin setting.
459ea0e1a9aSPaul Mundt
460ea0e1a9aSPaul Mundtsource "kernel/time/Kconfig"
461ea0e1a9aSPaul Mundt
462ea0e1a9aSPaul Mundtendmenu
463ea0e1a9aSPaul Mundt
464ea0e1a9aSPaul Mundtmenu "CPU Frequency scaling"
465ea0e1a9aSPaul Mundt
466ea0e1a9aSPaul Mundtsource "drivers/cpufreq/Kconfig"
467ea0e1a9aSPaul Mundt
468ea0e1a9aSPaul Mundtconfig SH_CPU_FREQ
469ea0e1a9aSPaul Mundt	tristate "SuperH CPU Frequency driver"
470ea0e1a9aSPaul Mundt	depends on CPU_FREQ
471ea0e1a9aSPaul Mundt	select CPU_FREQ_TABLE
472ea0e1a9aSPaul Mundt	help
473ea0e1a9aSPaul Mundt	  This adds the cpufreq driver for SuperH. At present, only
474ea0e1a9aSPaul Mundt	  the SH-4 is supported.
475ea0e1a9aSPaul Mundt
476ea0e1a9aSPaul Mundt	  For details, take a look at <file:Documentation/cpu-freq>.
477ea0e1a9aSPaul Mundt
478ea0e1a9aSPaul Mundt	  If unsure, say N.
479ea0e1a9aSPaul Mundt
480ea0e1a9aSPaul Mundtendmenu
481ea0e1a9aSPaul Mundt
482ea0e1a9aSPaul Mundtsource "arch/sh/drivers/Kconfig"
483ea0e1a9aSPaul Mundt
484ea0e1a9aSPaul Mundtendmenu
485ea0e1a9aSPaul Mundt
486ea0e1a9aSPaul Mundtconfig ISA_DMA_API
487f5f826c6SAdrian Bunk	bool
488ea0e1a9aSPaul Mundt
489ea0e1a9aSPaul Mundtmenu "Kernel features"
490ea0e1a9aSPaul Mundt
491ea0e1a9aSPaul Mundtsource kernel/Kconfig.hz
492ea0e1a9aSPaul Mundt
493ea0e1a9aSPaul Mundtconfig KEXEC
494ea0e1a9aSPaul Mundt	bool "kexec system call (EXPERIMENTAL)"
495640f7487SPaul Mundt	depends on SUPERH32 && EXPERIMENTAL
496ea0e1a9aSPaul Mundt	help
497ea0e1a9aSPaul Mundt	  kexec is a system call that implements the ability to shutdown your
498ea0e1a9aSPaul Mundt	  current kernel, and to start another kernel.  It is like a reboot
499ea0e1a9aSPaul Mundt	  but it is independent of the system firmware.  And like a reboot
500ea0e1a9aSPaul Mundt	  you can start any kernel with it, not just Linux.
501ea0e1a9aSPaul Mundt
502ea0e1a9aSPaul Mundt	  The name comes from the similarity to the exec system call.
503ea0e1a9aSPaul Mundt
504ea0e1a9aSPaul Mundt	  It is an ongoing process to be certain the hardware in a machine
505ea0e1a9aSPaul Mundt	  is properly shutdown, so do not be surprised if this code does not
506ea0e1a9aSPaul Mundt	  initially work for you.  It may help to enable device hotplugging
507ea0e1a9aSPaul Mundt	  support.  As of this writing the exact hardware interface is
508ea0e1a9aSPaul Mundt	  strongly in flux, so no good recommendation can be made.
509ea0e1a9aSPaul Mundt
510ea0e1a9aSPaul Mundtconfig CRASH_DUMP
511ea0e1a9aSPaul Mundt	bool "kernel crash dumps (EXPERIMENTAL)"
512640f7487SPaul Mundt	depends on SUPERH32 && EXPERIMENTAL
513ea0e1a9aSPaul Mundt	help
514ea0e1a9aSPaul Mundt	  Generate crash dump after being started by kexec.
515ea0e1a9aSPaul Mundt	  This should be normally only set in special crash dump kernels
516ea0e1a9aSPaul Mundt	  which are loaded in the main kernel with kexec-tools into
517ea0e1a9aSPaul Mundt	  a specially reserved region and then later executed after
518ea0e1a9aSPaul Mundt	  a crash by kdump/kexec. The crash dump kernel must be compiled
519ea0e1a9aSPaul Mundt	  to a memory address not used by the main kernel using
520ea0e1a9aSPaul Mundt	  MEMORY_START.
521ea0e1a9aSPaul Mundt
522ea0e1a9aSPaul Mundt	  For more details see Documentation/kdump/kdump.txt
523ea0e1a9aSPaul Mundt
524c4637d47SPaul Mundtconfig SECCOMP
525c4637d47SPaul Mundt	bool "Enable seccomp to safely compute untrusted bytecode"
526c4637d47SPaul Mundt	depends on PROC_FS
527c4637d47SPaul Mundt	help
528c4637d47SPaul Mundt	  This kernel feature is useful for number crunching applications
529c4637d47SPaul Mundt	  that may need to compute untrusted bytecode during their
530c4637d47SPaul Mundt	  execution. By using pipes or other transports made available to
531c4637d47SPaul Mundt	  the process as file descriptors supporting the read/write
532c4637d47SPaul Mundt	  syscalls, it's possible to isolate those applications in
533c4637d47SPaul Mundt	  their own address space using seccomp. Once seccomp is
534c4637d47SPaul Mundt	  enabled via prctl, it cannot be disabled and the task is only
535c4637d47SPaul Mundt	  allowed to execute a few safe syscalls defined by each seccomp
536c4637d47SPaul Mundt	  mode.
537c4637d47SPaul Mundt
538c4637d47SPaul Mundt	  If unsure, say N.
539c4637d47SPaul Mundt
540ea0e1a9aSPaul Mundtconfig SMP
541ea0e1a9aSPaul Mundt	bool "Symmetric multi-processing support"
542ea0e1a9aSPaul Mundt	depends on SYS_SUPPORTS_SMP
543490f5de5SJens Axboe	select USE_GENERIC_SMP_HELPERS
544ea0e1a9aSPaul Mundt	---help---
545ea0e1a9aSPaul Mundt	  This enables support for systems with more than one CPU. If you have
546ea0e1a9aSPaul Mundt	  a system with only one CPU, like most personal computers, say N. If
547ea0e1a9aSPaul Mundt	  you have a system with more than one CPU, say Y.
548ea0e1a9aSPaul Mundt
549ea0e1a9aSPaul Mundt	  If you say N here, the kernel will run on single and multiprocessor
550ea0e1a9aSPaul Mundt	  machines, but will use only one CPU of a multiprocessor machine. If
551ea0e1a9aSPaul Mundt	  you say Y here, the kernel will run on many, but not all,
552ea0e1a9aSPaul Mundt	  singleprocessor machines. On a singleprocessor machine, the kernel
553ea0e1a9aSPaul Mundt	  will run faster if you say N here.
554ea0e1a9aSPaul Mundt
555ea0e1a9aSPaul Mundt	  People using multiprocessor machines who say Y here should also say
556ea0e1a9aSPaul Mundt	  Y to "Enhanced Real Time Clock Support", below.
557ea0e1a9aSPaul Mundt
55803502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
55903502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
560ea0e1a9aSPaul Mundt
561ea0e1a9aSPaul Mundt	  If you don't know what to do here, say N.
562ea0e1a9aSPaul Mundt
563ea0e1a9aSPaul Mundtconfig NR_CPUS
564ea0e1a9aSPaul Mundt	int "Maximum number of CPUs (2-32)"
565ea0e1a9aSPaul Mundt	range 2 32
566ea0e1a9aSPaul Mundt	depends on SMP
567ea0e1a9aSPaul Mundt	default "4" if CPU_SHX3
568ea0e1a9aSPaul Mundt	default "2"
569ea0e1a9aSPaul Mundt	help
570ea0e1a9aSPaul Mundt	  This allows you to specify the maximum number of CPUs which this
571ea0e1a9aSPaul Mundt	  kernel will support.  The maximum supported value is 32 and the
572ea0e1a9aSPaul Mundt	  minimum value which makes sense is 2.
573ea0e1a9aSPaul Mundt
574ea0e1a9aSPaul Mundt	  This is purely to save memory - each supported CPU adds
575ea0e1a9aSPaul Mundt	  approximately eight kilobytes to the kernel image.
576ea0e1a9aSPaul Mundt
577ea0e1a9aSPaul Mundtsource "kernel/Kconfig.preempt"
578ea0e1a9aSPaul Mundt
579ea0e1a9aSPaul Mundtconfig GUSA
580ea0e1a9aSPaul Mundt	def_bool y
5811efe4ce3SStuart Menefy	depends on !SMP && SUPERH32
582ea0e1a9aSPaul Mundt	help
583ea0e1a9aSPaul Mundt	  This enables support for gUSA (general UserSpace Atomicity).
584ea0e1a9aSPaul Mundt	  This is the default implementation for both UP and non-ll/sc
585ea0e1a9aSPaul Mundt	  CPUs, and is used by the libc, amongst others.
586ea0e1a9aSPaul Mundt
587ea0e1a9aSPaul Mundt	  For additional information, design information can be found
588ea0e1a9aSPaul Mundt	  in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
589ea0e1a9aSPaul Mundt
590ea0e1a9aSPaul Mundt	  This should only be disabled for special cases where alternate
591ea0e1a9aSPaul Mundt	  atomicity implementations exist.
592ea0e1a9aSPaul Mundt
5931efe4ce3SStuart Menefyconfig GUSA_RB
5941efe4ce3SStuart Menefy	bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
5951efe4ce3SStuart Menefy	depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
5961efe4ce3SStuart Menefy	help
5971efe4ce3SStuart Menefy	  Enabling this option will allow the kernel to implement some
5981efe4ce3SStuart Menefy	  atomic operations using a software implemention of load-locked/
5991efe4ce3SStuart Menefy	  store-conditional (LLSC). On machines which do not have hardware
6001efe4ce3SStuart Menefy	  LLSC, this should be more efficient than the other alternative of
6011efe4ce3SStuart Menefy	  disabling insterrupts around the atomic sequence.
6021efe4ce3SStuart Menefy
603ea0e1a9aSPaul Mundtendmenu
604ea0e1a9aSPaul Mundt
605ea0e1a9aSPaul Mundtmenu "Boot options"
606ea0e1a9aSPaul Mundt
607ea0e1a9aSPaul Mundtconfig ZERO_PAGE_OFFSET
608ea0e1a9aSPaul Mundt	hex "Zero page offset"
609f5f826c6SAdrian Bunk	default "0x00004000" if SH_SH03
610ea0e1a9aSPaul Mundt	default "0x00010000" if PAGE_SIZE_64KB
611ea0e1a9aSPaul Mundt	default "0x00002000" if PAGE_SIZE_8KB
612ea0e1a9aSPaul Mundt	default "0x00001000"
613ea0e1a9aSPaul Mundt	help
614ea0e1a9aSPaul Mundt	  This sets the default offset of zero page.
615ea0e1a9aSPaul Mundt
616ea0e1a9aSPaul Mundtconfig BOOT_LINK_OFFSET
617ea0e1a9aSPaul Mundt	hex "Link address offset for booting"
618ea0e1a9aSPaul Mundt	default "0x00800000"
619ea0e1a9aSPaul Mundt	help
620ea0e1a9aSPaul Mundt	  This option allows you to set the link address offset of the zImage.
621ea0e1a9aSPaul Mundt	  This can be useful if you are on a board which has a small amount of
622ea0e1a9aSPaul Mundt	  memory.
623ea0e1a9aSPaul Mundt
624ea0e1a9aSPaul Mundtconfig UBC_WAKEUP
625ea0e1a9aSPaul Mundt	bool "Wakeup UBC on startup"
626ea0e1a9aSPaul Mundt	depends on CPU_SH4 && !CPU_SH4A
627ea0e1a9aSPaul Mundt	help
628ea0e1a9aSPaul Mundt	  Selecting this option will wakeup the User Break Controller (UBC) on
629ea0e1a9aSPaul Mundt	  startup. Although the UBC is left in an awake state when the processor
630ea0e1a9aSPaul Mundt	  comes up, some boot loaders misbehave by putting the UBC to sleep in a
631ea0e1a9aSPaul Mundt	  power saving state, which causes issues with things like ptrace().
632ea0e1a9aSPaul Mundt
633ea0e1a9aSPaul Mundt	  If unsure, say N.
634ea0e1a9aSPaul Mundt
635ea0e1a9aSPaul Mundtconfig CMDLINE_BOOL
636ea0e1a9aSPaul Mundt	bool "Default bootloader kernel arguments"
637ea0e1a9aSPaul Mundt
638ea0e1a9aSPaul Mundtconfig CMDLINE
639ea0e1a9aSPaul Mundt	string "Initial kernel command string"
640ea0e1a9aSPaul Mundt	depends on CMDLINE_BOOL
641ea0e1a9aSPaul Mundt	default "console=ttySC1,115200"
642ea0e1a9aSPaul Mundt
643ea0e1a9aSPaul Mundtendmenu
644ea0e1a9aSPaul Mundt
645ea0e1a9aSPaul Mundtmenu "Bus options"
646ea0e1a9aSPaul Mundt
647ea0e1a9aSPaul Mundt# Even on SuperH devices which don't have an ISA bus,
648ea0e1a9aSPaul Mundt# this variable helps the PCMCIA modules handle
649ea0e1a9aSPaul Mundt# IRQ requesting properly -- Greg Banks.
650ea0e1a9aSPaul Mundt#
651ea0e1a9aSPaul Mundt# Though we're generally not interested in it when
652ea0e1a9aSPaul Mundt# we're not using PCMCIA, so we make it dependent on
653ea0e1a9aSPaul Mundt# PCMCIA outright. -- PFM.
654ea0e1a9aSPaul Mundtconfig ISA
655ea0e1a9aSPaul Mundt	def_bool y
656ea0e1a9aSPaul Mundt	depends on PCMCIA && HD6446X_SERIES
657ea0e1a9aSPaul Mundt	help
658ea0e1a9aSPaul Mundt	  Find out whether you have ISA slots on your motherboard.  ISA is the
659ea0e1a9aSPaul Mundt	  name of a bus system, i.e. the way the CPU talks to the other stuff
660ea0e1a9aSPaul Mundt	  inside your box.  Other bus systems are PCI, EISA, MicroChannel
661ea0e1a9aSPaul Mundt	  (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
662ea0e1a9aSPaul Mundt	  newer boards don't support it.  If you have ISA, say Y, otherwise N.
663ea0e1a9aSPaul Mundt
664ea0e1a9aSPaul Mundtconfig EISA
665ea0e1a9aSPaul Mundt	bool
666ea0e1a9aSPaul Mundt	---help---
667ea0e1a9aSPaul Mundt	  The Extended Industry Standard Architecture (EISA) bus was
668ea0e1a9aSPaul Mundt	  developed as an open alternative to the IBM MicroChannel bus.
669ea0e1a9aSPaul Mundt
670ea0e1a9aSPaul Mundt	  The EISA bus provided some of the features of the IBM MicroChannel
671ea0e1a9aSPaul Mundt	  bus while maintaining backward compatibility with cards made for
672ea0e1a9aSPaul Mundt	  the older ISA bus.  The EISA bus saw limited use between 1988 and
673ea0e1a9aSPaul Mundt	  1995 when it was made obsolete by the PCI bus.
674ea0e1a9aSPaul Mundt
675ea0e1a9aSPaul Mundt	  Say Y here if you are building a kernel for an EISA-based machine.
676ea0e1a9aSPaul Mundt
677ea0e1a9aSPaul Mundt	  Otherwise, say N.
678ea0e1a9aSPaul Mundt
679ea0e1a9aSPaul Mundtconfig MCA
680ea0e1a9aSPaul Mundt	bool
681ea0e1a9aSPaul Mundt	help
682ea0e1a9aSPaul Mundt	  MicroChannel Architecture is found in some IBM PS/2 machines and
683ea0e1a9aSPaul Mundt	  laptops.  It is a bus system similar to PCI or ISA. See
684ea0e1a9aSPaul Mundt	  <file:Documentation/mca.txt> (and especially the web page given
685ea0e1a9aSPaul Mundt	  there) before attempting to build an MCA bus kernel.
686ea0e1a9aSPaul Mundt
687ea0e1a9aSPaul Mundtconfig SBUS
688ea0e1a9aSPaul Mundt	bool
689ea0e1a9aSPaul Mundt
690ea0e1a9aSPaul Mundtconfig SUPERHYWAY
691ea0e1a9aSPaul Mundt	tristate "SuperHyway Bus support"
692ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH4_202
693ea0e1a9aSPaul Mundt
694ea0e1a9aSPaul Mundtconfig MAPLE
695ea0e1a9aSPaul Mundt       bool "Maple Bus support"
696ea0e1a9aSPaul Mundt       depends on SH_DREAMCAST
697ea0e1a9aSPaul Mundt       help
698ea0e1a9aSPaul Mundt         The Maple Bus is SEGA's serial communication bus for peripherals
699ea0e1a9aSPaul Mundt         on the Dreamcast. Without this bus support you won't be able to
700ea0e1a9aSPaul Mundt         get your Dreamcast keyboard etc to work, so most users
701ea0e1a9aSPaul Mundt         probably want to say 'Y' here, unless you are only using the
702ea0e1a9aSPaul Mundt         Dreamcast with a serial line terminal or a remote network
703ea0e1a9aSPaul Mundt         connection.
704ea0e1a9aSPaul Mundt
705ea0e1a9aSPaul Mundtconfig CF_ENABLER
706ea0e1a9aSPaul Mundt	bool "Compact Flash Enabler support"
707ea0e1a9aSPaul Mundt	depends on SOLUTION_ENGINE || SH_SH03
708ea0e1a9aSPaul Mundt	---help---
709ea0e1a9aSPaul Mundt	  Compact Flash is a small, removable mass storage device introduced
710ea0e1a9aSPaul Mundt	  in 1994 originally as a PCMCIA device.  If you say `Y' here, you
711ea0e1a9aSPaul Mundt	  compile in support for Compact Flash devices directly connected to
712ea0e1a9aSPaul Mundt	  a SuperH processor.  A Compact Flash FAQ is available at
713ea0e1a9aSPaul Mundt	  <http://www.compactflash.org/faqs/faq.htm>.
714ea0e1a9aSPaul Mundt
715ea0e1a9aSPaul Mundt	  If your board has "Directly Connected" CompactFlash at area 5 or 6,
716ea0e1a9aSPaul Mundt	  you may want to enable this option.  Then, you can use CF as
717ea0e1a9aSPaul Mundt	  primary IDE drive (only tested for SanDisk).
718ea0e1a9aSPaul Mundt
719ea0e1a9aSPaul Mundt	  If in doubt, select 'N'.
720ea0e1a9aSPaul Mundt
721ea0e1a9aSPaul Mundtchoice
722ea0e1a9aSPaul Mundt	prompt "Compact Flash Connection Area"
723ea0e1a9aSPaul Mundt	depends on CF_ENABLER
724ea0e1a9aSPaul Mundt	default CF_AREA6
725ea0e1a9aSPaul Mundt
726ea0e1a9aSPaul Mundtconfig CF_AREA5
727ea0e1a9aSPaul Mundt	bool "Area5"
728ea0e1a9aSPaul Mundt	help
729ea0e1a9aSPaul Mundt	  If your board has "Directly Connected" CompactFlash, You should
730ea0e1a9aSPaul Mundt	  select the area where your CF is connected to.
731ea0e1a9aSPaul Mundt
732ea0e1a9aSPaul Mundt	  - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
733ea0e1a9aSPaul Mundt	  - "Area6" if it is connected to Area 6 (0x18000000)
734ea0e1a9aSPaul Mundt
735ea0e1a9aSPaul Mundt	  "Area6" will work for most boards.
736ea0e1a9aSPaul Mundt
737ea0e1a9aSPaul Mundtconfig CF_AREA6
738ea0e1a9aSPaul Mundt	bool "Area6"
739ea0e1a9aSPaul Mundt
740ea0e1a9aSPaul Mundtendchoice
741ea0e1a9aSPaul Mundt
742ea0e1a9aSPaul Mundtconfig CF_BASE_ADDR
743ea0e1a9aSPaul Mundt	hex
744ea0e1a9aSPaul Mundt	depends on CF_ENABLER
745ea0e1a9aSPaul Mundt	default "0xb8000000" if CF_AREA6
746ea0e1a9aSPaul Mundt	default "0xb4000000" if CF_AREA5
747ea0e1a9aSPaul Mundt
748ea0e1a9aSPaul Mundtsource "arch/sh/drivers/pci/Kconfig"
749ea0e1a9aSPaul 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