xref: /openbmc/linux/arch/sh/Kconfig (revision fad57feb)
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
16ea0e1a9aSPaul Mundt	help
17ea0e1a9aSPaul Mundt	  The SuperH is a RISC processor targeted for use in embedded systems
18ea0e1a9aSPaul Mundt	  and consumer electronics; it was also used in the Sega Dreamcast
19ea0e1a9aSPaul Mundt	  gaming console.  The SuperH port has a home page at
20ea0e1a9aSPaul Mundt	  <http://www.linux-sh.org/>.
21ea0e1a9aSPaul Mundt
22ea0e1a9aSPaul Mundtconfig SUPERH32
23ea0e1a9aSPaul Mundt	def_bool !SUPERH64
24d39f5450SChris Smith	select HAVE_KPROBES
25d39f5450SChris Smith	select HAVE_KRETPROBES
26e7ab3cd2SPaul Mundt	select HAVE_ARCH_TRACEHOOK
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
90ea0e1a9aSPaul Mundt
91ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_APM_EMULATION
92ea0e1a9aSPaul Mundt	bool
93ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_PM
94ea0e1a9aSPaul Mundt
95ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_SMP
96ea0e1a9aSPaul Mundt	bool
97ea0e1a9aSPaul Mundt
98ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_NUMA
99ea0e1a9aSPaul Mundt	bool
100ea0e1a9aSPaul Mundt
101ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PCI
102ea0e1a9aSPaul Mundt	bool
103ea0e1a9aSPaul Mundt
104ea0e1a9aSPaul Mundtconfig STACKTRACE_SUPPORT
105d7ef4fb3SHarvey Harrison	def_bool y
106ea0e1a9aSPaul Mundt
107ea0e1a9aSPaul Mundtconfig LOCKDEP_SUPPORT
108d7ef4fb3SHarvey Harrison	def_bool y
109ea0e1a9aSPaul Mundt
1105a89f1adSPaul Mundtconfig HAVE_LATENCYTOP_SUPPORT
1115a89f1adSPaul Mundt	def_bool y
1125a89f1adSPaul Mundt	depends on !SMP
1135a89f1adSPaul Mundt
114ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U32
115d7ef4fb3SHarvey Harrison	def_bool n
116ea0e1a9aSPaul Mundt
117ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U64
118d7ef4fb3SHarvey Harrison	def_bool n
119ea0e1a9aSPaul Mundt
120ea0e1a9aSPaul Mundtconfig ARCH_NO_VIRT_TO_BUS
121ea0e1a9aSPaul Mundt	def_bool y
122ea0e1a9aSPaul Mundt
123e7cc9a73SMagnus Dammconfig IO_TRAPPED
124e7cc9a73SMagnus Damm	bool
125e7cc9a73SMagnus Damm
126ea0e1a9aSPaul Mundtsource "init/Kconfig"
127ea0e1a9aSPaul Mundt
128dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
129dc52ddc0SMatt Helsley
130ea0e1a9aSPaul Mundtmenu "System type"
131ea0e1a9aSPaul Mundt
132ea0e1a9aSPaul Mundt#
133ea0e1a9aSPaul Mundt# Processor families
134ea0e1a9aSPaul Mundt#
135ea0e1a9aSPaul Mundtconfig CPU_SH2
136ea0e1a9aSPaul Mundt	bool
137ea0e1a9aSPaul Mundt
138ea0e1a9aSPaul Mundtconfig CPU_SH2A
139ea0e1a9aSPaul Mundt	bool
140ea0e1a9aSPaul Mundt	select CPU_SH2
141ea0e1a9aSPaul Mundt
142ea0e1a9aSPaul Mundtconfig CPU_SH3
143ea0e1a9aSPaul Mundt	bool
144ea0e1a9aSPaul Mundt	select CPU_HAS_INTEVT
145ea0e1a9aSPaul Mundt	select CPU_HAS_SR_RB
146ea0e1a9aSPaul Mundt
147ea0e1a9aSPaul Mundtconfig CPU_SH4
148ea0e1a9aSPaul Mundt	bool
149ea0e1a9aSPaul Mundt	select CPU_HAS_INTEVT
150ea0e1a9aSPaul Mundt	select CPU_HAS_SR_RB
151ea0e1a9aSPaul Mundt	select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
152ea0e1a9aSPaul Mundt	select CPU_HAS_FPU if !CPU_SH4AL_DSP
153ea0e1a9aSPaul Mundt
154ea0e1a9aSPaul Mundtconfig CPU_SH4A
155ea0e1a9aSPaul Mundt	bool
156ea0e1a9aSPaul Mundt	select CPU_SH4
157ea0e1a9aSPaul Mundt
158ea0e1a9aSPaul Mundtconfig CPU_SH4AL_DSP
159ea0e1a9aSPaul Mundt	bool
160ea0e1a9aSPaul Mundt	select CPU_SH4A
161ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
162ea0e1a9aSPaul Mundt
163ea0e1a9aSPaul Mundtconfig CPU_SH5
164ea0e1a9aSPaul Mundt	bool
165ea0e1a9aSPaul Mundt	select CPU_HAS_FPU
166ea0e1a9aSPaul Mundt
167ea0e1a9aSPaul Mundtconfig CPU_SHX2
168ea0e1a9aSPaul Mundt	bool
169ea0e1a9aSPaul Mundt
170ea0e1a9aSPaul Mundtconfig CPU_SHX3
171ea0e1a9aSPaul Mundt	bool
172ea0e1a9aSPaul Mundt
173ea0e1a9aSPaul Mundtchoice
174ea0e1a9aSPaul Mundt	prompt "Processor sub-type selection"
175ea0e1a9aSPaul Mundt
176ea0e1a9aSPaul Mundt#
177ea0e1a9aSPaul Mundt# Processor subtypes
178ea0e1a9aSPaul Mundt#
179ea0e1a9aSPaul Mundt
180ea0e1a9aSPaul Mundt# SH-2 Processor Support
181ea0e1a9aSPaul Mundt
182ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7619
183ea0e1a9aSPaul Mundt	bool "Support SH7619 processor"
184ea0e1a9aSPaul Mundt	select CPU_SH2
185ea0e1a9aSPaul Mundt
186ea0e1a9aSPaul Mundt# SH-2A Processor Support
187ea0e1a9aSPaul Mundt
1886d01f510SPaul Mundtconfig CPU_SUBTYPE_SH7203
1896d01f510SPaul Mundt	bool "Support SH7203 processor"
1906d01f510SPaul Mundt	select CPU_SH2A
19174d99a5eSPaul Mundt	select CPU_HAS_FPU
1926d01f510SPaul Mundt
193ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7206
194ea0e1a9aSPaul Mundt	bool "Support SH7206 processor"
195ea0e1a9aSPaul Mundt	select CPU_SH2A
196ea0e1a9aSPaul Mundt
197a8f67f4bSPaul Mundtconfig CPU_SUBTYPE_SH7263
198a8f67f4bSPaul Mundt	bool "Support SH7263 processor"
199a8f67f4bSPaul Mundt	select CPU_SH2A
20074d99a5eSPaul Mundt	select CPU_HAS_FPU
201a8f67f4bSPaul Mundt
2022ad69908SPaul Mundtconfig CPU_SUBTYPE_MXG
2032ad69908SPaul Mundt	bool "Support MX-G processor"
2042ad69908SPaul Mundt	select CPU_SH2A
2052ad69908SPaul Mundt	help
2062ad69908SPaul Mundt	  Select MX-G if running on an R8A03022BG part.
2072ad69908SPaul Mundt
208ea0e1a9aSPaul Mundt# SH-3 Processor Support
209ea0e1a9aSPaul Mundt
210ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7705
211ea0e1a9aSPaul Mundt	bool "Support SH7705 processor"
212ea0e1a9aSPaul Mundt	select CPU_SH3
213ea0e1a9aSPaul Mundt
214ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7706
215ea0e1a9aSPaul Mundt	bool "Support SH7706 processor"
216ea0e1a9aSPaul Mundt	select CPU_SH3
217ea0e1a9aSPaul Mundt	help
218ea0e1a9aSPaul Mundt	  Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
219ea0e1a9aSPaul Mundt
220ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7707
221ea0e1a9aSPaul Mundt	bool "Support SH7707 processor"
222ea0e1a9aSPaul Mundt	select CPU_SH3
223ea0e1a9aSPaul Mundt	help
224ea0e1a9aSPaul Mundt	  Select SH7707 if you have a  60 Mhz SH-3 HD6417707 CPU.
225ea0e1a9aSPaul Mundt
226ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7708
227ea0e1a9aSPaul Mundt	bool "Support SH7708 processor"
228ea0e1a9aSPaul Mundt	select CPU_SH3
229ea0e1a9aSPaul Mundt	help
230ea0e1a9aSPaul Mundt	  Select SH7708 if you have a  60 Mhz SH-3 HD6417708S or
231ea0e1a9aSPaul Mundt	  if you have a 100 Mhz SH-3 HD6417708R CPU.
232ea0e1a9aSPaul Mundt
233ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7709
234ea0e1a9aSPaul Mundt	bool "Support SH7709 processor"
235ea0e1a9aSPaul Mundt	select CPU_SH3
236ea0e1a9aSPaul Mundt	help
237ea0e1a9aSPaul Mundt	  Select SH7709 if you have a  80 Mhz SH-3 HD6417709 CPU.
238ea0e1a9aSPaul Mundt
239ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7710
240ea0e1a9aSPaul Mundt	bool "Support SH7710 processor"
241ea0e1a9aSPaul Mundt	select CPU_SH3
242ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
243ea0e1a9aSPaul Mundt	help
244ea0e1a9aSPaul Mundt	  Select SH7710 if you have a SH3-DSP SH7710 CPU.
245ea0e1a9aSPaul Mundt
246ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7712
247ea0e1a9aSPaul Mundt	bool "Support SH7712 processor"
248ea0e1a9aSPaul Mundt	select CPU_SH3
249ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
250ea0e1a9aSPaul Mundt	help
251ea0e1a9aSPaul Mundt	  Select SH7712 if you have a SH3-DSP SH7712 CPU.
252ea0e1a9aSPaul Mundt
253ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7720
254ea0e1a9aSPaul Mundt	bool "Support SH7720 processor"
255ea0e1a9aSPaul Mundt	select CPU_SH3
256ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
257ea0e1a9aSPaul Mundt	help
258ea0e1a9aSPaul Mundt	  Select SH7720 if you have a SH3-DSP SH7720 CPU.
259ea0e1a9aSPaul Mundt
26031a49c4bSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7721
26131a49c4bSYoshihiro Shimoda	bool "Support SH7721 processor"
26231a49c4bSYoshihiro Shimoda	select CPU_SH3
26331a49c4bSYoshihiro Shimoda	select CPU_HAS_DSP
26431a49c4bSYoshihiro Shimoda	help
26531a49c4bSYoshihiro Shimoda	  Select SH7721 if you have a SH3-DSP SH7721 CPU.
26631a49c4bSYoshihiro Shimoda
267ea0e1a9aSPaul Mundt# SH-4 Processor Support
268ea0e1a9aSPaul Mundt
269ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750
270ea0e1a9aSPaul Mundt	bool "Support SH7750 processor"
271ea0e1a9aSPaul Mundt	select CPU_SH4
272ea0e1a9aSPaul Mundt	help
273ea0e1a9aSPaul Mundt	  Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
274ea0e1a9aSPaul Mundt
275ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7091
276ea0e1a9aSPaul Mundt	bool "Support SH7091 processor"
277ea0e1a9aSPaul Mundt	select CPU_SH4
278ea0e1a9aSPaul Mundt	help
279ea0e1a9aSPaul Mundt	  Select SH7091 if you have an SH-4 based Sega device (such as
280ea0e1a9aSPaul Mundt	  the Dreamcast, Naomi, and Naomi 2).
281ea0e1a9aSPaul Mundt
282ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750R
283ea0e1a9aSPaul Mundt	bool "Support SH7750R processor"
284ea0e1a9aSPaul Mundt	select CPU_SH4
285ea0e1a9aSPaul Mundt
286ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750S
287ea0e1a9aSPaul Mundt	bool "Support SH7750S processor"
288ea0e1a9aSPaul Mundt	select CPU_SH4
289ea0e1a9aSPaul Mundt
290ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751
291ea0e1a9aSPaul Mundt	bool "Support SH7751 processor"
292ea0e1a9aSPaul Mundt	select CPU_SH4
293ea0e1a9aSPaul Mundt	help
294ea0e1a9aSPaul Mundt	  Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
295ea0e1a9aSPaul Mundt	  or if you have a HD6417751R CPU.
296ea0e1a9aSPaul Mundt
297ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751R
298ea0e1a9aSPaul Mundt	bool "Support SH7751R processor"
299ea0e1a9aSPaul Mundt	select CPU_SH4
300ea0e1a9aSPaul Mundt
301ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7760
302ea0e1a9aSPaul Mundt	bool "Support SH7760 processor"
303ea0e1a9aSPaul Mundt	select CPU_SH4
304ea0e1a9aSPaul Mundt
305ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH4_202
306ea0e1a9aSPaul Mundt	bool "Support SH4-202 processor"
307ea0e1a9aSPaul Mundt	select CPU_SH4
308ea0e1a9aSPaul Mundt
309ea0e1a9aSPaul Mundt# SH-4A Processor Support
310ea0e1a9aSPaul Mundt
311178dd0cdSPaul Mundtconfig CPU_SUBTYPE_SH7723
312178dd0cdSPaul Mundt	bool "Support SH7723 processor"
313178dd0cdSPaul Mundt	select CPU_SH4A
314178dd0cdSPaul Mundt	select CPU_SHX2
315178dd0cdSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
316178dd0cdSPaul Mundt	help
317178dd0cdSPaul Mundt	  Select SH7723 if you have an SH-MobileR2 CPU.
318178dd0cdSPaul Mundt
3197d740a06SYoshihiro Shimodaconfig CPU_SUBTYPE_SH7763
3207d740a06SYoshihiro Shimoda	bool "Support SH7763 processor"
3217d740a06SYoshihiro Shimoda	select CPU_SH4A
3227d740a06SYoshihiro Shimoda	help
3237d740a06SYoshihiro Shimoda	  Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
3247d740a06SYoshihiro Shimoda
325ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7770
326ea0e1a9aSPaul Mundt	bool "Support SH7770 processor"
327ea0e1a9aSPaul Mundt	select CPU_SH4A
328ea0e1a9aSPaul Mundt
329ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7780
330ea0e1a9aSPaul Mundt	bool "Support SH7780 processor"
331ea0e1a9aSPaul Mundt	select CPU_SH4A
332ea0e1a9aSPaul Mundt
333ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7785
334ea0e1a9aSPaul Mundt	bool "Support SH7785 processor"
335ea0e1a9aSPaul Mundt	select CPU_SH4A
336ea0e1a9aSPaul Mundt	select CPU_SHX2
337ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
338ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
339ea0e1a9aSPaul Mundt
340ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SHX3
341ea0e1a9aSPaul Mundt	bool "Support SH-X3 processor"
342ea0e1a9aSPaul Mundt	select CPU_SH4A
343ea0e1a9aSPaul Mundt	select CPU_SHX3
344ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
345ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
346ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_SMP
3475840263eSPaul Mundt	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
348ea0e1a9aSPaul Mundt
349ea0e1a9aSPaul Mundt# SH4AL-DSP Processor Support
350ea0e1a9aSPaul Mundt
351ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7343
352ea0e1a9aSPaul Mundt	bool "Support SH7343 processor"
353ea0e1a9aSPaul Mundt	select CPU_SH4AL_DSP
354ea0e1a9aSPaul Mundt
355ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7722
356ea0e1a9aSPaul Mundt	bool "Support SH7722 processor"
357ea0e1a9aSPaul Mundt	select CPU_SH4AL_DSP
358ea0e1a9aSPaul Mundt	select CPU_SHX2
359ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
360ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
361ea0e1a9aSPaul Mundt
3629109a30eSMagnus Dammconfig CPU_SUBTYPE_SH7366
3639109a30eSMagnus Damm	bool "Support SH7366 processor"
3649109a30eSMagnus Damm	select CPU_SH4AL_DSP
3659109a30eSMagnus Damm	select CPU_SHX2
3669109a30eSMagnus Damm	select ARCH_SPARSEMEM_ENABLE
3679109a30eSMagnus Damm	select SYS_SUPPORTS_NUMA
3689109a30eSMagnus Damm
369ea0e1a9aSPaul Mundt# SH-5 Processor Support
370ea0e1a9aSPaul Mundt
371ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_101
372ea0e1a9aSPaul Mundt	bool "Support SH5-101 processor"
373ea0e1a9aSPaul Mundt	select CPU_SH5
374ea0e1a9aSPaul Mundt
375ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_103
376ea0e1a9aSPaul Mundt	bool "Support SH5-103 processor"
3778ef97dd7SPaul Mundt	select CPU_SH5
378ea0e1a9aSPaul Mundt
379ea0e1a9aSPaul Mundtendchoice
380ea0e1a9aSPaul Mundt
381ea0e1a9aSPaul Mundtsource "arch/sh/mm/Kconfig"
382939a24a6SPaul Mundt
383ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.cpu"
384ea0e1a9aSPaul Mundt
385939a24a6SPaul Mundtsource "arch/sh/boards/Kconfig"
386ea0e1a9aSPaul Mundt
387ea0e1a9aSPaul Mundtmenu "Timer and clock configuration"
388ea0e1a9aSPaul Mundt
389ea0e1a9aSPaul Mundtconfig SH_TMU
390d7ef4fb3SHarvey Harrison	def_bool y
391d7ef4fb3SHarvey Harrison	prompt "TMU timer support"
392ea0e1a9aSPaul Mundt	depends on CPU_SH3 || CPU_SH4
393ea0e1a9aSPaul Mundt	select GENERIC_TIME
394ea0e1a9aSPaul Mundt	select GENERIC_CLOCKEVENTS
395ea0e1a9aSPaul Mundt	help
396ea0e1a9aSPaul Mundt	  This enables the use of the TMU as the system timer.
397ea0e1a9aSPaul Mundt
398ea0e1a9aSPaul Mundtconfig SH_CMT
399d7ef4fb3SHarvey Harrison	def_bool y
400d7ef4fb3SHarvey Harrison	prompt "CMT timer support"
4012ad69908SPaul Mundt	depends on CPU_SH2 && !CPU_SUBTYPE_MXG
402ea0e1a9aSPaul Mundt	help
403ea0e1a9aSPaul Mundt	  This enables the use of the CMT as the system timer.
404ea0e1a9aSPaul Mundt
405ea0e1a9aSPaul Mundtconfig SH_MTU2
406d7ef4fb3SHarvey Harrison	def_bool n
407d7ef4fb3SHarvey Harrison	prompt "MTU2 timer support"
408ea0e1a9aSPaul Mundt	depends on CPU_SH2A
409ea0e1a9aSPaul Mundt	help
410ea0e1a9aSPaul Mundt	  This enables the use of the MTU2 as the system timer.
411ea0e1a9aSPaul Mundt
412ea0e1a9aSPaul Mundtconfig SH_TIMER_IRQ
413ea0e1a9aSPaul Mundt	int
4147d740a06SYoshihiro Shimoda	default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
4157d740a06SYoshihiro Shimoda			CPU_SUBTYPE_SH7763
416ea0e1a9aSPaul Mundt	default "86" if CPU_SUBTYPE_SH7619
417ea0e1a9aSPaul Mundt	default "140" if CPU_SUBTYPE_SH7206
4182b2d4e70SPaul Mundt	default "142" if CPU_SUBTYPE_SH7203
4192ad69908SPaul Mundt	default "238" if CPU_SUBTYPE_MXG
420ea0e1a9aSPaul Mundt	default "16"
421ea0e1a9aSPaul Mundt
422ea0e1a9aSPaul Mundtconfig SH_PCLK_FREQ
423ea0e1a9aSPaul Mundt	int "Peripheral clock frequency (in Hz)"
424ea0e1a9aSPaul Mundt	default "27000000" if CPU_SUBTYPE_SH7343
425ea0e1a9aSPaul Mundt	default "31250000" if CPU_SUBTYPE_SH7619
426ea0e1a9aSPaul Mundt	default "32000000" if CPU_SUBTYPE_SH7722
427178dd0cdSPaul Mundt	default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
428ea0e1a9aSPaul Mundt			      CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
429a8f67f4bSPaul Mundt			      CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
4302ad69908SPaul Mundt			      CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG
431ea0e1a9aSPaul Mundt	default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
432ea0e1a9aSPaul Mundt	default "66000000" if CPU_SUBTYPE_SH4_202
433ea0e1a9aSPaul Mundt	default "50000000"
434ea0e1a9aSPaul Mundt	help
435ea0e1a9aSPaul Mundt	  This option is used to specify the peripheral clock frequency.
436ea0e1a9aSPaul Mundt	  This is necessary for determining the reference clock value on
437ea0e1a9aSPaul Mundt	  platforms lacking an RTC.
438ea0e1a9aSPaul Mundt
439ea0e1a9aSPaul Mundtconfig SH_CLK_MD
440ea0e1a9aSPaul Mundt	int "CPU Mode Pin Setting"
4416d01f510SPaul Mundt	depends on CPU_SH2
442ea0e1a9aSPaul Mundt	default 6 if CPU_SUBTYPE_SH7206
443ea0e1a9aSPaul Mundt	default 5 if CPU_SUBTYPE_SH7619
444ea0e1a9aSPaul Mundt	default 0
445ea0e1a9aSPaul Mundt	help
446ea0e1a9aSPaul Mundt	  MD2 - MD0 pin setting.
447ea0e1a9aSPaul Mundt
448ea0e1a9aSPaul Mundtsource "kernel/time/Kconfig"
449ea0e1a9aSPaul Mundt
450ea0e1a9aSPaul Mundtendmenu
451ea0e1a9aSPaul Mundt
452ea0e1a9aSPaul Mundtmenu "CPU Frequency scaling"
453ea0e1a9aSPaul Mundt
454ea0e1a9aSPaul Mundtsource "drivers/cpufreq/Kconfig"
455ea0e1a9aSPaul Mundt
456ea0e1a9aSPaul Mundtconfig SH_CPU_FREQ
457ea0e1a9aSPaul Mundt	tristate "SuperH CPU Frequency driver"
458ea0e1a9aSPaul Mundt	depends on CPU_FREQ
459ea0e1a9aSPaul Mundt	select CPU_FREQ_TABLE
460ea0e1a9aSPaul Mundt	help
461ea0e1a9aSPaul Mundt	  This adds the cpufreq driver for SuperH. At present, only
462ea0e1a9aSPaul Mundt	  the SH-4 is supported.
463ea0e1a9aSPaul Mundt
464ea0e1a9aSPaul Mundt	  For details, take a look at <file:Documentation/cpu-freq>.
465ea0e1a9aSPaul Mundt
466ea0e1a9aSPaul Mundt	  If unsure, say N.
467ea0e1a9aSPaul Mundt
468ea0e1a9aSPaul Mundtendmenu
469ea0e1a9aSPaul Mundt
470ea0e1a9aSPaul Mundtsource "arch/sh/drivers/Kconfig"
471ea0e1a9aSPaul Mundt
472ea0e1a9aSPaul Mundtendmenu
473ea0e1a9aSPaul Mundt
474ea0e1a9aSPaul Mundtconfig ISA_DMA_API
475f5f826c6SAdrian Bunk	bool
476ea0e1a9aSPaul Mundt
477ea0e1a9aSPaul Mundtmenu "Kernel features"
478ea0e1a9aSPaul Mundt
479ea0e1a9aSPaul Mundtsource kernel/Kconfig.hz
480ea0e1a9aSPaul Mundt
481ea0e1a9aSPaul Mundtconfig KEXEC
482ea0e1a9aSPaul Mundt	bool "kexec system call (EXPERIMENTAL)"
483640f7487SPaul Mundt	depends on SUPERH32 && EXPERIMENTAL
484ea0e1a9aSPaul Mundt	help
485ea0e1a9aSPaul Mundt	  kexec is a system call that implements the ability to shutdown your
486ea0e1a9aSPaul Mundt	  current kernel, and to start another kernel.  It is like a reboot
487ea0e1a9aSPaul Mundt	  but it is independent of the system firmware.  And like a reboot
488ea0e1a9aSPaul Mundt	  you can start any kernel with it, not just Linux.
489ea0e1a9aSPaul Mundt
490ea0e1a9aSPaul Mundt	  The name comes from the similarity to the exec system call.
491ea0e1a9aSPaul Mundt
492ea0e1a9aSPaul Mundt	  It is an ongoing process to be certain the hardware in a machine
493ea0e1a9aSPaul Mundt	  is properly shutdown, so do not be surprised if this code does not
494ea0e1a9aSPaul Mundt	  initially work for you.  It may help to enable device hotplugging
495ea0e1a9aSPaul Mundt	  support.  As of this writing the exact hardware interface is
496ea0e1a9aSPaul Mundt	  strongly in flux, so no good recommendation can be made.
497ea0e1a9aSPaul Mundt
498ea0e1a9aSPaul Mundtconfig CRASH_DUMP
499ea0e1a9aSPaul Mundt	bool "kernel crash dumps (EXPERIMENTAL)"
500640f7487SPaul Mundt	depends on SUPERH32 && EXPERIMENTAL
501ea0e1a9aSPaul Mundt	help
502ea0e1a9aSPaul Mundt	  Generate crash dump after being started by kexec.
503ea0e1a9aSPaul Mundt	  This should be normally only set in special crash dump kernels
504ea0e1a9aSPaul Mundt	  which are loaded in the main kernel with kexec-tools into
505ea0e1a9aSPaul Mundt	  a specially reserved region and then later executed after
506ea0e1a9aSPaul Mundt	  a crash by kdump/kexec. The crash dump kernel must be compiled
507ea0e1a9aSPaul Mundt	  to a memory address not used by the main kernel using
508ea0e1a9aSPaul Mundt	  MEMORY_START.
509ea0e1a9aSPaul Mundt
510ea0e1a9aSPaul Mundt	  For more details see Documentation/kdump/kdump.txt
511ea0e1a9aSPaul Mundt
512c4637d47SPaul Mundtconfig SECCOMP
513c4637d47SPaul Mundt	bool "Enable seccomp to safely compute untrusted bytecode"
514c4637d47SPaul Mundt	depends on PROC_FS
515c4637d47SPaul Mundt	help
516c4637d47SPaul Mundt	  This kernel feature is useful for number crunching applications
517c4637d47SPaul Mundt	  that may need to compute untrusted bytecode during their
518c4637d47SPaul Mundt	  execution. By using pipes or other transports made available to
519c4637d47SPaul Mundt	  the process as file descriptors supporting the read/write
520c4637d47SPaul Mundt	  syscalls, it's possible to isolate those applications in
521c4637d47SPaul Mundt	  their own address space using seccomp. Once seccomp is
522c4637d47SPaul Mundt	  enabled via prctl, it cannot be disabled and the task is only
523c4637d47SPaul Mundt	  allowed to execute a few safe syscalls defined by each seccomp
524c4637d47SPaul Mundt	  mode.
525c4637d47SPaul Mundt
526c4637d47SPaul Mundt	  If unsure, say N.
527c4637d47SPaul Mundt
528ea0e1a9aSPaul Mundtconfig SMP
529ea0e1a9aSPaul Mundt	bool "Symmetric multi-processing support"
530ea0e1a9aSPaul Mundt	depends on SYS_SUPPORTS_SMP
531490f5de5SJens Axboe	select USE_GENERIC_SMP_HELPERS
532ea0e1a9aSPaul Mundt	---help---
533ea0e1a9aSPaul Mundt	  This enables support for systems with more than one CPU. If you have
534ea0e1a9aSPaul Mundt	  a system with only one CPU, like most personal computers, say N. If
535ea0e1a9aSPaul Mundt	  you have a system with more than one CPU, say Y.
536ea0e1a9aSPaul Mundt
537ea0e1a9aSPaul Mundt	  If you say N here, the kernel will run on single and multiprocessor
538ea0e1a9aSPaul Mundt	  machines, but will use only one CPU of a multiprocessor machine. If
539ea0e1a9aSPaul Mundt	  you say Y here, the kernel will run on many, but not all,
540ea0e1a9aSPaul Mundt	  singleprocessor machines. On a singleprocessor machine, the kernel
541ea0e1a9aSPaul Mundt	  will run faster if you say N here.
542ea0e1a9aSPaul Mundt
543ea0e1a9aSPaul Mundt	  People using multiprocessor machines who say Y here should also say
544ea0e1a9aSPaul Mundt	  Y to "Enhanced Real Time Clock Support", below.
545ea0e1a9aSPaul Mundt
54603502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
54703502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
548ea0e1a9aSPaul Mundt
549ea0e1a9aSPaul Mundt	  If you don't know what to do here, say N.
550ea0e1a9aSPaul Mundt
551ea0e1a9aSPaul Mundtconfig NR_CPUS
552ea0e1a9aSPaul Mundt	int "Maximum number of CPUs (2-32)"
553ea0e1a9aSPaul Mundt	range 2 32
554ea0e1a9aSPaul Mundt	depends on SMP
555ea0e1a9aSPaul Mundt	default "4" if CPU_SHX3
556ea0e1a9aSPaul Mundt	default "2"
557ea0e1a9aSPaul Mundt	help
558ea0e1a9aSPaul Mundt	  This allows you to specify the maximum number of CPUs which this
559ea0e1a9aSPaul Mundt	  kernel will support.  The maximum supported value is 32 and the
560ea0e1a9aSPaul Mundt	  minimum value which makes sense is 2.
561ea0e1a9aSPaul Mundt
562ea0e1a9aSPaul Mundt	  This is purely to save memory - each supported CPU adds
563ea0e1a9aSPaul Mundt	  approximately eight kilobytes to the kernel image.
564ea0e1a9aSPaul Mundt
565ea0e1a9aSPaul Mundtsource "kernel/Kconfig.preempt"
566ea0e1a9aSPaul Mundt
567ea0e1a9aSPaul Mundtconfig GUSA
568ea0e1a9aSPaul Mundt	def_bool y
5691efe4ce3SStuart Menefy	depends on !SMP && SUPERH32
570ea0e1a9aSPaul Mundt	help
571ea0e1a9aSPaul Mundt	  This enables support for gUSA (general UserSpace Atomicity).
572ea0e1a9aSPaul Mundt	  This is the default implementation for both UP and non-ll/sc
573ea0e1a9aSPaul Mundt	  CPUs, and is used by the libc, amongst others.
574ea0e1a9aSPaul Mundt
575ea0e1a9aSPaul Mundt	  For additional information, design information can be found
576ea0e1a9aSPaul Mundt	  in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
577ea0e1a9aSPaul Mundt
578ea0e1a9aSPaul Mundt	  This should only be disabled for special cases where alternate
579ea0e1a9aSPaul Mundt	  atomicity implementations exist.
580ea0e1a9aSPaul Mundt
5811efe4ce3SStuart Menefyconfig GUSA_RB
5821efe4ce3SStuart Menefy	bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
5831efe4ce3SStuart Menefy	depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
5841efe4ce3SStuart Menefy	help
5851efe4ce3SStuart Menefy	  Enabling this option will allow the kernel to implement some
5861efe4ce3SStuart Menefy	  atomic operations using a software implemention of load-locked/
5871efe4ce3SStuart Menefy	  store-conditional (LLSC). On machines which do not have hardware
5881efe4ce3SStuart Menefy	  LLSC, this should be more efficient than the other alternative of
5891efe4ce3SStuart Menefy	  disabling insterrupts around the atomic sequence.
5901efe4ce3SStuart Menefy
591ea0e1a9aSPaul Mundtendmenu
592ea0e1a9aSPaul Mundt
593ea0e1a9aSPaul Mundtmenu "Boot options"
594ea0e1a9aSPaul Mundt
595ea0e1a9aSPaul Mundtconfig ZERO_PAGE_OFFSET
596ea0e1a9aSPaul Mundt	hex "Zero page offset"
597f5f826c6SAdrian Bunk	default "0x00004000" if SH_SH03
598ea0e1a9aSPaul Mundt	default "0x00010000" if PAGE_SIZE_64KB
599ea0e1a9aSPaul Mundt	default "0x00002000" if PAGE_SIZE_8KB
600ea0e1a9aSPaul Mundt	default "0x00001000"
601ea0e1a9aSPaul Mundt	help
602ea0e1a9aSPaul Mundt	  This sets the default offset of zero page.
603ea0e1a9aSPaul Mundt
604ea0e1a9aSPaul Mundtconfig BOOT_LINK_OFFSET
605ea0e1a9aSPaul Mundt	hex "Link address offset for booting"
606ea0e1a9aSPaul Mundt	default "0x00800000"
607ea0e1a9aSPaul Mundt	help
608ea0e1a9aSPaul Mundt	  This option allows you to set the link address offset of the zImage.
609ea0e1a9aSPaul Mundt	  This can be useful if you are on a board which has a small amount of
610ea0e1a9aSPaul Mundt	  memory.
611ea0e1a9aSPaul Mundt
612ea0e1a9aSPaul Mundtconfig UBC_WAKEUP
613ea0e1a9aSPaul Mundt	bool "Wakeup UBC on startup"
614ea0e1a9aSPaul Mundt	depends on CPU_SH4 && !CPU_SH4A
615ea0e1a9aSPaul Mundt	help
616ea0e1a9aSPaul Mundt	  Selecting this option will wakeup the User Break Controller (UBC) on
617ea0e1a9aSPaul Mundt	  startup. Although the UBC is left in an awake state when the processor
618ea0e1a9aSPaul Mundt	  comes up, some boot loaders misbehave by putting the UBC to sleep in a
619ea0e1a9aSPaul Mundt	  power saving state, which causes issues with things like ptrace().
620ea0e1a9aSPaul Mundt
621ea0e1a9aSPaul Mundt	  If unsure, say N.
622ea0e1a9aSPaul Mundt
623ea0e1a9aSPaul Mundtconfig CMDLINE_BOOL
624ea0e1a9aSPaul Mundt	bool "Default bootloader kernel arguments"
625ea0e1a9aSPaul Mundt
626ea0e1a9aSPaul Mundtconfig CMDLINE
627ea0e1a9aSPaul Mundt	string "Initial kernel command string"
628ea0e1a9aSPaul Mundt	depends on CMDLINE_BOOL
629ea0e1a9aSPaul Mundt	default "console=ttySC1,115200"
630ea0e1a9aSPaul Mundt
631ea0e1a9aSPaul Mundtendmenu
632ea0e1a9aSPaul Mundt
633ea0e1a9aSPaul Mundtmenu "Bus options"
634ea0e1a9aSPaul Mundt
635ea0e1a9aSPaul Mundt# Even on SuperH devices which don't have an ISA bus,
636ea0e1a9aSPaul Mundt# this variable helps the PCMCIA modules handle
637ea0e1a9aSPaul Mundt# IRQ requesting properly -- Greg Banks.
638ea0e1a9aSPaul Mundt#
639ea0e1a9aSPaul Mundt# Though we're generally not interested in it when
640ea0e1a9aSPaul Mundt# we're not using PCMCIA, so we make it dependent on
641ea0e1a9aSPaul Mundt# PCMCIA outright. -- PFM.
642ea0e1a9aSPaul Mundtconfig ISA
643ea0e1a9aSPaul Mundt	def_bool y
644ea0e1a9aSPaul Mundt	depends on PCMCIA && HD6446X_SERIES
645ea0e1a9aSPaul Mundt	help
646ea0e1a9aSPaul Mundt	  Find out whether you have ISA slots on your motherboard.  ISA is the
647ea0e1a9aSPaul Mundt	  name of a bus system, i.e. the way the CPU talks to the other stuff
648ea0e1a9aSPaul Mundt	  inside your box.  Other bus systems are PCI, EISA, MicroChannel
649ea0e1a9aSPaul Mundt	  (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
650ea0e1a9aSPaul Mundt	  newer boards don't support it.  If you have ISA, say Y, otherwise N.
651ea0e1a9aSPaul Mundt
652ea0e1a9aSPaul Mundtconfig EISA
653ea0e1a9aSPaul Mundt	bool
654ea0e1a9aSPaul Mundt	---help---
655ea0e1a9aSPaul Mundt	  The Extended Industry Standard Architecture (EISA) bus was
656ea0e1a9aSPaul Mundt	  developed as an open alternative to the IBM MicroChannel bus.
657ea0e1a9aSPaul Mundt
658ea0e1a9aSPaul Mundt	  The EISA bus provided some of the features of the IBM MicroChannel
659ea0e1a9aSPaul Mundt	  bus while maintaining backward compatibility with cards made for
660ea0e1a9aSPaul Mundt	  the older ISA bus.  The EISA bus saw limited use between 1988 and
661ea0e1a9aSPaul Mundt	  1995 when it was made obsolete by the PCI bus.
662ea0e1a9aSPaul Mundt
663ea0e1a9aSPaul Mundt	  Say Y here if you are building a kernel for an EISA-based machine.
664ea0e1a9aSPaul Mundt
665ea0e1a9aSPaul Mundt	  Otherwise, say N.
666ea0e1a9aSPaul Mundt
667ea0e1a9aSPaul Mundtconfig MCA
668ea0e1a9aSPaul Mundt	bool
669ea0e1a9aSPaul Mundt	help
670ea0e1a9aSPaul Mundt	  MicroChannel Architecture is found in some IBM PS/2 machines and
671ea0e1a9aSPaul Mundt	  laptops.  It is a bus system similar to PCI or ISA. See
672ea0e1a9aSPaul Mundt	  <file:Documentation/mca.txt> (and especially the web page given
673ea0e1a9aSPaul Mundt	  there) before attempting to build an MCA bus kernel.
674ea0e1a9aSPaul Mundt
675ea0e1a9aSPaul Mundtconfig SBUS
676ea0e1a9aSPaul Mundt	bool
677ea0e1a9aSPaul Mundt
678ea0e1a9aSPaul Mundtconfig SUPERHYWAY
679ea0e1a9aSPaul Mundt	tristate "SuperHyway Bus support"
680ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH4_202
681ea0e1a9aSPaul Mundt
682ea0e1a9aSPaul Mundtconfig MAPLE
683ea0e1a9aSPaul Mundt       bool "Maple Bus support"
684ea0e1a9aSPaul Mundt       depends on SH_DREAMCAST
685ea0e1a9aSPaul Mundt       help
686ea0e1a9aSPaul Mundt         The Maple Bus is SEGA's serial communication bus for peripherals
687ea0e1a9aSPaul Mundt         on the Dreamcast. Without this bus support you won't be able to
688ea0e1a9aSPaul Mundt         get your Dreamcast keyboard etc to work, so most users
689ea0e1a9aSPaul Mundt         probably want to say 'Y' here, unless you are only using the
690ea0e1a9aSPaul Mundt         Dreamcast with a serial line terminal or a remote network
691ea0e1a9aSPaul Mundt         connection.
692ea0e1a9aSPaul Mundt
693ea0e1a9aSPaul Mundtconfig CF_ENABLER
694ea0e1a9aSPaul Mundt	bool "Compact Flash Enabler support"
695ea0e1a9aSPaul Mundt	depends on SOLUTION_ENGINE || SH_SH03
696ea0e1a9aSPaul Mundt	---help---
697ea0e1a9aSPaul Mundt	  Compact Flash is a small, removable mass storage device introduced
698ea0e1a9aSPaul Mundt	  in 1994 originally as a PCMCIA device.  If you say `Y' here, you
699ea0e1a9aSPaul Mundt	  compile in support for Compact Flash devices directly connected to
700ea0e1a9aSPaul Mundt	  a SuperH processor.  A Compact Flash FAQ is available at
701ea0e1a9aSPaul Mundt	  <http://www.compactflash.org/faqs/faq.htm>.
702ea0e1a9aSPaul Mundt
703ea0e1a9aSPaul Mundt	  If your board has "Directly Connected" CompactFlash at area 5 or 6,
704ea0e1a9aSPaul Mundt	  you may want to enable this option.  Then, you can use CF as
705ea0e1a9aSPaul Mundt	  primary IDE drive (only tested for SanDisk).
706ea0e1a9aSPaul Mundt
707ea0e1a9aSPaul Mundt	  If in doubt, select 'N'.
708ea0e1a9aSPaul Mundt
709ea0e1a9aSPaul Mundtchoice
710ea0e1a9aSPaul Mundt	prompt "Compact Flash Connection Area"
711ea0e1a9aSPaul Mundt	depends on CF_ENABLER
712ea0e1a9aSPaul Mundt	default CF_AREA6
713ea0e1a9aSPaul Mundt
714ea0e1a9aSPaul Mundtconfig CF_AREA5
715ea0e1a9aSPaul Mundt	bool "Area5"
716ea0e1a9aSPaul Mundt	help
717ea0e1a9aSPaul Mundt	  If your board has "Directly Connected" CompactFlash, You should
718ea0e1a9aSPaul Mundt	  select the area where your CF is connected to.
719ea0e1a9aSPaul Mundt
720ea0e1a9aSPaul Mundt	  - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
721ea0e1a9aSPaul Mundt	  - "Area6" if it is connected to Area 6 (0x18000000)
722ea0e1a9aSPaul Mundt
723ea0e1a9aSPaul Mundt	  "Area6" will work for most boards.
724ea0e1a9aSPaul Mundt
725ea0e1a9aSPaul Mundtconfig CF_AREA6
726ea0e1a9aSPaul Mundt	bool "Area6"
727ea0e1a9aSPaul Mundt
728ea0e1a9aSPaul Mundtendchoice
729ea0e1a9aSPaul Mundt
730ea0e1a9aSPaul Mundtconfig CF_BASE_ADDR
731ea0e1a9aSPaul Mundt	hex
732ea0e1a9aSPaul Mundt	depends on CF_ENABLER
733ea0e1a9aSPaul Mundt	default "0xb8000000" if CF_AREA6
734ea0e1a9aSPaul Mundt	default "0xb4000000" if CF_AREA5
735ea0e1a9aSPaul Mundt
736ea0e1a9aSPaul Mundtsource "arch/sh/drivers/pci/Kconfig"
737ea0e1a9aSPaul Mundt
738ea0e1a9aSPaul Mundtsource "drivers/pci/Kconfig"
739ea0e1a9aSPaul Mundt
740ea0e1a9aSPaul Mundtsource "drivers/pcmcia/Kconfig"
741ea0e1a9aSPaul Mundt
742ea0e1a9aSPaul Mundtsource "drivers/pci/hotplug/Kconfig"
743ea0e1a9aSPaul Mundt
744ea0e1a9aSPaul Mundtendmenu
745ea0e1a9aSPaul Mundt
746ea0e1a9aSPaul Mundtmenu "Executable file formats"
747ea0e1a9aSPaul Mundt
748ea0e1a9aSPaul Mundtsource "fs/Kconfig.binfmt"
749ea0e1a9aSPaul Mundt
750ea0e1a9aSPaul Mundtendmenu
751ea0e1a9aSPaul Mundt
752ea0e1a9aSPaul Mundtmenu "Power management options (EXPERIMENTAL)"
753ea0e1a9aSPaul Mundtdepends on EXPERIMENTAL && SYS_SUPPORTS_PM
754ea0e1a9aSPaul Mundt
755f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
756f4cb5700SJohannes Berg	def_bool y
757f4cb5700SJohannes Berg	depends on !SMP
758f4cb5700SJohannes Berg
759ea0e1a9aSPaul Mundtsource kernel/power/Kconfig
760ea0e1a9aSPaul Mundt
761ea0e1a9aSPaul Mundtendmenu
762ea0e1a9aSPaul Mundt
763ea0e1a9aSPaul Mundtsource "net/Kconfig"
764ea0e1a9aSPaul Mundt
765ea0e1a9aSPaul Mundtsource "drivers/Kconfig"
766ea0e1a9aSPaul Mundt
767ea0e1a9aSPaul Mundtsource "fs/Kconfig"
768ea0e1a9aSPaul Mundt
769ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.debug"
770ea0e1a9aSPaul Mundt
771ea0e1a9aSPaul Mundtsource "security/Kconfig"
772ea0e1a9aSPaul Mundt
773ea0e1a9aSPaul Mundtsource "crypto/Kconfig"
774ea0e1a9aSPaul Mundt
775ea0e1a9aSPaul Mundtsource "lib/Kconfig"
776