xref: /openbmc/linux/arch/sh/Kconfig (revision cb700aa4)
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
15cb700aa4SPaul Mundt	select HAVE_IOREMAP_PROT
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
26ea0e1a9aSPaul Mundt
27ea0e1a9aSPaul Mundtconfig SUPERH64
28ea0e1a9aSPaul Mundt	def_bool y if CPU_SH5
29cf204fa7SPaul Mundt	select GENERIC_CALIBRATE_DELAY
30ea0e1a9aSPaul Mundt
31f42b7e3dSPaul Mundtconfig ARCH_DEFCONFIG
32f42b7e3dSPaul Mundt	string
33f42b7e3dSPaul Mundt	default "arch/sh/configs/shx3_defconfig" if SUPERH32
34f42b7e3dSPaul Mundt	default "arch/sh/configs/cayman_defconfig" if SUPERH64
35f42b7e3dSPaul Mundt
36ea0e1a9aSPaul Mundtconfig RWSEM_GENERIC_SPINLOCK
37d7ef4fb3SHarvey Harrison	def_bool y
38ea0e1a9aSPaul Mundt
39ea0e1a9aSPaul Mundtconfig RWSEM_XCHGADD_ALGORITHM
40ea0e1a9aSPaul Mundt	bool
41ea0e1a9aSPaul Mundt
42ea0e1a9aSPaul Mundtconfig GENERIC_BUG
43ea0e1a9aSPaul Mundt	def_bool y
44a82d53ecSPaul Mundt	depends on BUG && SUPERH32
45ea0e1a9aSPaul Mundt
46ea0e1a9aSPaul Mundtconfig GENERIC_FIND_NEXT_BIT
47d7ef4fb3SHarvey Harrison	def_bool y
48ea0e1a9aSPaul Mundt
49ea0e1a9aSPaul Mundtconfig GENERIC_HWEIGHT
50d7ef4fb3SHarvey Harrison	def_bool y
51ea0e1a9aSPaul Mundt
52ea0e1a9aSPaul Mundtconfig GENERIC_HARDIRQS
53d7ef4fb3SHarvey Harrison	def_bool y
54ea0e1a9aSPaul Mundt
555093c9a4SPaul Mundtconfig GENERIC_HARDIRQS_NO__DO_IRQ
565093c9a4SPaul Mundt	def_bool y
575093c9a4SPaul Mundt
58ea0e1a9aSPaul Mundtconfig GENERIC_IRQ_PROBE
59d7ef4fb3SHarvey Harrison	def_bool y
60ea0e1a9aSPaul Mundt
61ea0e1a9aSPaul Mundtconfig GENERIC_CALIBRATE_DELAY
62cf204fa7SPaul Mundt	bool
63ea0e1a9aSPaul Mundt
64ea0e1a9aSPaul Mundtconfig GENERIC_IOMAP
65ea0e1a9aSPaul Mundt	bool
66ea0e1a9aSPaul Mundt
67ea0e1a9aSPaul Mundtconfig GENERIC_TIME
68ea0e1a9aSPaul Mundt	def_bool n
69ea0e1a9aSPaul Mundt
70ea0e1a9aSPaul Mundtconfig GENERIC_CLOCKEVENTS
71ea0e1a9aSPaul Mundt	def_bool n
72ea0e1a9aSPaul Mundt
738c24594dSPaul Mundtconfig GENERIC_CLOCKEVENTS_BROADCAST
748c24594dSPaul Mundt	bool
758c24594dSPaul Mundt
76bdcab87bSPaul Mundtconfig GENERIC_LOCKBREAK
77bdcab87bSPaul Mundt	def_bool y
78bdcab87bSPaul Mundt	depends on SMP && PREEMPT
79bdcab87bSPaul Mundt
80ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PM
81ea0e1a9aSPaul Mundt	bool
82ea0e1a9aSPaul Mundt
83ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_APM_EMULATION
84ea0e1a9aSPaul Mundt	bool
85ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_PM
86ea0e1a9aSPaul Mundt
87ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_SMP
88ea0e1a9aSPaul Mundt	bool
89ea0e1a9aSPaul Mundt
90ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_NUMA
91ea0e1a9aSPaul Mundt	bool
92ea0e1a9aSPaul Mundt
93ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PCI
94ea0e1a9aSPaul Mundt	bool
95ea0e1a9aSPaul Mundt
96ea0e1a9aSPaul Mundtconfig STACKTRACE_SUPPORT
97d7ef4fb3SHarvey Harrison	def_bool y
98ea0e1a9aSPaul Mundt
99ea0e1a9aSPaul Mundtconfig LOCKDEP_SUPPORT
100d7ef4fb3SHarvey Harrison	def_bool y
101ea0e1a9aSPaul Mundt
102ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U32
103d7ef4fb3SHarvey Harrison	def_bool n
104ea0e1a9aSPaul Mundt
105ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U64
106d7ef4fb3SHarvey Harrison	def_bool n
107ea0e1a9aSPaul Mundt
108ea0e1a9aSPaul Mundtconfig ARCH_NO_VIRT_TO_BUS
109ea0e1a9aSPaul Mundt	def_bool y
110ea0e1a9aSPaul Mundt
111e7cc9a73SMagnus Dammconfig IO_TRAPPED
112e7cc9a73SMagnus Damm	bool
113e7cc9a73SMagnus Damm
114ea0e1a9aSPaul Mundtsource "init/Kconfig"
115ea0e1a9aSPaul Mundt
116ea0e1a9aSPaul Mundtmenu "System type"
117ea0e1a9aSPaul Mundt
118ea0e1a9aSPaul Mundt#
119ea0e1a9aSPaul Mundt# Processor families
120ea0e1a9aSPaul Mundt#
121ea0e1a9aSPaul Mundtconfig CPU_SH2
122ea0e1a9aSPaul Mundt	bool
123ea0e1a9aSPaul Mundt
124ea0e1a9aSPaul Mundtconfig CPU_SH2A
125ea0e1a9aSPaul Mundt	bool
126ea0e1a9aSPaul Mundt	select CPU_SH2
127ea0e1a9aSPaul Mundt
128ea0e1a9aSPaul Mundtconfig CPU_SH3
129ea0e1a9aSPaul Mundt	bool
130ea0e1a9aSPaul Mundt	select CPU_HAS_INTEVT
131ea0e1a9aSPaul Mundt	select CPU_HAS_SR_RB
132ea0e1a9aSPaul Mundt
133ea0e1a9aSPaul Mundtconfig CPU_SH4
134ea0e1a9aSPaul Mundt	bool
135ea0e1a9aSPaul Mundt	select CPU_HAS_INTEVT
136ea0e1a9aSPaul Mundt	select CPU_HAS_SR_RB
137ea0e1a9aSPaul Mundt	select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
138ea0e1a9aSPaul Mundt	select CPU_HAS_FPU if !CPU_SH4AL_DSP
139ea0e1a9aSPaul Mundt
140ea0e1a9aSPaul Mundtconfig CPU_SH4A
141ea0e1a9aSPaul Mundt	bool
142ea0e1a9aSPaul Mundt	select CPU_SH4
143ea0e1a9aSPaul Mundt
144ea0e1a9aSPaul Mundtconfig CPU_SH4AL_DSP
145ea0e1a9aSPaul Mundt	bool
146ea0e1a9aSPaul Mundt	select CPU_SH4A
147ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
148ea0e1a9aSPaul Mundt
149ea0e1a9aSPaul Mundtconfig CPU_SH5
150ea0e1a9aSPaul Mundt	bool
151ea0e1a9aSPaul Mundt	select CPU_HAS_FPU
152ea0e1a9aSPaul Mundt
153ea0e1a9aSPaul Mundtconfig CPU_SHX2
154ea0e1a9aSPaul Mundt	bool
155ea0e1a9aSPaul Mundt
156ea0e1a9aSPaul Mundtconfig CPU_SHX3
157ea0e1a9aSPaul Mundt	bool
158ea0e1a9aSPaul Mundt
159ea0e1a9aSPaul Mundtchoice
160ea0e1a9aSPaul Mundt	prompt "Processor sub-type selection"
161ea0e1a9aSPaul Mundt
162ea0e1a9aSPaul Mundt#
163ea0e1a9aSPaul Mundt# Processor subtypes
164ea0e1a9aSPaul Mundt#
165ea0e1a9aSPaul Mundt
166ea0e1a9aSPaul Mundt# SH-2 Processor Support
167ea0e1a9aSPaul Mundt
168ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7619
169ea0e1a9aSPaul Mundt	bool "Support SH7619 processor"
170ea0e1a9aSPaul Mundt	select CPU_SH2
171ea0e1a9aSPaul Mundt
172ea0e1a9aSPaul Mundt# SH-2A Processor Support
173ea0e1a9aSPaul Mundt
1746d01f510SPaul Mundtconfig CPU_SUBTYPE_SH7203
1756d01f510SPaul Mundt	bool "Support SH7203 processor"
1766d01f510SPaul Mundt	select CPU_SH2A
17774d99a5eSPaul Mundt	select CPU_HAS_FPU
1786d01f510SPaul Mundt
179ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7206
180ea0e1a9aSPaul Mundt	bool "Support SH7206 processor"
181ea0e1a9aSPaul Mundt	select CPU_SH2A
182ea0e1a9aSPaul Mundt
183a8f67f4bSPaul Mundtconfig CPU_SUBTYPE_SH7263
184a8f67f4bSPaul Mundt	bool "Support SH7263 processor"
185a8f67f4bSPaul Mundt	select CPU_SH2A
18674d99a5eSPaul Mundt	select CPU_HAS_FPU
187a8f67f4bSPaul Mundt
1882ad69908SPaul Mundtconfig CPU_SUBTYPE_MXG
1892ad69908SPaul Mundt	bool "Support MX-G processor"
1902ad69908SPaul Mundt	select CPU_SH2A
1912ad69908SPaul Mundt	help
1922ad69908SPaul Mundt	  Select MX-G if running on an R8A03022BG part.
1932ad69908SPaul Mundt
194ea0e1a9aSPaul Mundt# SH-3 Processor Support
195ea0e1a9aSPaul Mundt
196ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7705
197ea0e1a9aSPaul Mundt	bool "Support SH7705 processor"
198ea0e1a9aSPaul Mundt	select CPU_SH3
199ea0e1a9aSPaul Mundt
200ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7706
201ea0e1a9aSPaul Mundt	bool "Support SH7706 processor"
202ea0e1a9aSPaul Mundt	select CPU_SH3
203ea0e1a9aSPaul Mundt	help
204ea0e1a9aSPaul Mundt	  Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
205ea0e1a9aSPaul Mundt
206ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7707
207ea0e1a9aSPaul Mundt	bool "Support SH7707 processor"
208ea0e1a9aSPaul Mundt	select CPU_SH3
209ea0e1a9aSPaul Mundt	help
210ea0e1a9aSPaul Mundt	  Select SH7707 if you have a  60 Mhz SH-3 HD6417707 CPU.
211ea0e1a9aSPaul Mundt
212ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7708
213ea0e1a9aSPaul Mundt	bool "Support SH7708 processor"
214ea0e1a9aSPaul Mundt	select CPU_SH3
215ea0e1a9aSPaul Mundt	help
216ea0e1a9aSPaul Mundt	  Select SH7708 if you have a  60 Mhz SH-3 HD6417708S or
217ea0e1a9aSPaul Mundt	  if you have a 100 Mhz SH-3 HD6417708R CPU.
218ea0e1a9aSPaul Mundt
219ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7709
220ea0e1a9aSPaul Mundt	bool "Support SH7709 processor"
221ea0e1a9aSPaul Mundt	select CPU_SH3
222ea0e1a9aSPaul Mundt	help
223ea0e1a9aSPaul Mundt	  Select SH7709 if you have a  80 Mhz SH-3 HD6417709 CPU.
224ea0e1a9aSPaul Mundt
225ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7710
226ea0e1a9aSPaul Mundt	bool "Support SH7710 processor"
227ea0e1a9aSPaul Mundt	select CPU_SH3
228ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
229ea0e1a9aSPaul Mundt	help
230ea0e1a9aSPaul Mundt	  Select SH7710 if you have a SH3-DSP SH7710 CPU.
231ea0e1a9aSPaul Mundt
232ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7712
233ea0e1a9aSPaul Mundt	bool "Support SH7712 processor"
234ea0e1a9aSPaul Mundt	select CPU_SH3
235ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
236ea0e1a9aSPaul Mundt	help
237ea0e1a9aSPaul Mundt	  Select SH7712 if you have a SH3-DSP SH7712 CPU.
238ea0e1a9aSPaul Mundt
239ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7720
240ea0e1a9aSPaul Mundt	bool "Support SH7720 processor"
241ea0e1a9aSPaul Mundt	select CPU_SH3
242ea0e1a9aSPaul Mundt	select CPU_HAS_DSP
243ea0e1a9aSPaul Mundt	help
244ea0e1a9aSPaul Mundt	  Select SH7720 if you have a SH3-DSP SH7720 CPU.
245ea0e1a9aSPaul Mundt
24631a49c4bSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7721
24731a49c4bSYoshihiro Shimoda	bool "Support SH7721 processor"
24831a49c4bSYoshihiro Shimoda	select CPU_SH3
24931a49c4bSYoshihiro Shimoda	select CPU_HAS_DSP
25031a49c4bSYoshihiro Shimoda	help
25131a49c4bSYoshihiro Shimoda	  Select SH7721 if you have a SH3-DSP SH7721 CPU.
25231a49c4bSYoshihiro Shimoda
253ea0e1a9aSPaul Mundt# SH-4 Processor Support
254ea0e1a9aSPaul Mundt
255ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750
256ea0e1a9aSPaul Mundt	bool "Support SH7750 processor"
257ea0e1a9aSPaul Mundt	select CPU_SH4
258ea0e1a9aSPaul Mundt	help
259ea0e1a9aSPaul Mundt	  Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
260ea0e1a9aSPaul Mundt
261ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7091
262ea0e1a9aSPaul Mundt	bool "Support SH7091 processor"
263ea0e1a9aSPaul Mundt	select CPU_SH4
264ea0e1a9aSPaul Mundt	help
265ea0e1a9aSPaul Mundt	  Select SH7091 if you have an SH-4 based Sega device (such as
266ea0e1a9aSPaul Mundt	  the Dreamcast, Naomi, and Naomi 2).
267ea0e1a9aSPaul Mundt
268ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750R
269ea0e1a9aSPaul Mundt	bool "Support SH7750R processor"
270ea0e1a9aSPaul Mundt	select CPU_SH4
271ea0e1a9aSPaul Mundt
272ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750S
273ea0e1a9aSPaul Mundt	bool "Support SH7750S processor"
274ea0e1a9aSPaul Mundt	select CPU_SH4
275ea0e1a9aSPaul Mundt
276ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751
277ea0e1a9aSPaul Mundt	bool "Support SH7751 processor"
278ea0e1a9aSPaul Mundt	select CPU_SH4
279ea0e1a9aSPaul Mundt	help
280ea0e1a9aSPaul Mundt	  Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
281ea0e1a9aSPaul Mundt	  or if you have a HD6417751R CPU.
282ea0e1a9aSPaul Mundt
283ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751R
284ea0e1a9aSPaul Mundt	bool "Support SH7751R processor"
285ea0e1a9aSPaul Mundt	select CPU_SH4
286ea0e1a9aSPaul Mundt
287ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7760
288ea0e1a9aSPaul Mundt	bool "Support SH7760 processor"
289ea0e1a9aSPaul Mundt	select CPU_SH4
290ea0e1a9aSPaul Mundt
291ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH4_202
292ea0e1a9aSPaul Mundt	bool "Support SH4-202 processor"
293ea0e1a9aSPaul Mundt	select CPU_SH4
294ea0e1a9aSPaul Mundt
295ea0e1a9aSPaul Mundt# SH-4A Processor Support
296ea0e1a9aSPaul Mundt
297178dd0cdSPaul Mundtconfig CPU_SUBTYPE_SH7723
298178dd0cdSPaul Mundt	bool "Support SH7723 processor"
299178dd0cdSPaul Mundt	select CPU_SH4A
300178dd0cdSPaul Mundt	select CPU_SHX2
301178dd0cdSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
302178dd0cdSPaul Mundt	help
303178dd0cdSPaul Mundt	  Select SH7723 if you have an SH-MobileR2 CPU.
304178dd0cdSPaul Mundt
3057d740a06SYoshihiro Shimodaconfig CPU_SUBTYPE_SH7763
3067d740a06SYoshihiro Shimoda	bool "Support SH7763 processor"
3077d740a06SYoshihiro Shimoda	select CPU_SH4A
3087d740a06SYoshihiro Shimoda	help
3097d740a06SYoshihiro Shimoda	  Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
3107d740a06SYoshihiro Shimoda
311ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7770
312ea0e1a9aSPaul Mundt	bool "Support SH7770 processor"
313ea0e1a9aSPaul Mundt	select CPU_SH4A
314ea0e1a9aSPaul Mundt
315ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7780
316ea0e1a9aSPaul Mundt	bool "Support SH7780 processor"
317ea0e1a9aSPaul Mundt	select CPU_SH4A
318ea0e1a9aSPaul Mundt
319ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7785
320ea0e1a9aSPaul Mundt	bool "Support SH7785 processor"
321ea0e1a9aSPaul Mundt	select CPU_SH4A
322ea0e1a9aSPaul Mundt	select CPU_SHX2
323ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
324ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
325ea0e1a9aSPaul Mundt
326ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SHX3
327ea0e1a9aSPaul Mundt	bool "Support SH-X3 processor"
328ea0e1a9aSPaul Mundt	select CPU_SH4A
329ea0e1a9aSPaul Mundt	select CPU_SHX3
330ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
331ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
332ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_SMP
3335840263eSPaul Mundt	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
334ea0e1a9aSPaul Mundt
335ea0e1a9aSPaul Mundt# SH4AL-DSP Processor Support
336ea0e1a9aSPaul Mundt
337ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7343
338ea0e1a9aSPaul Mundt	bool "Support SH7343 processor"
339ea0e1a9aSPaul Mundt	select CPU_SH4AL_DSP
340ea0e1a9aSPaul Mundt
341ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7722
342ea0e1a9aSPaul Mundt	bool "Support SH7722 processor"
343ea0e1a9aSPaul Mundt	select CPU_SH4AL_DSP
344ea0e1a9aSPaul Mundt	select CPU_SHX2
345ea0e1a9aSPaul Mundt	select ARCH_SPARSEMEM_ENABLE
346ea0e1a9aSPaul Mundt	select SYS_SUPPORTS_NUMA
347ea0e1a9aSPaul Mundt
3489109a30eSMagnus Dammconfig CPU_SUBTYPE_SH7366
3499109a30eSMagnus Damm	bool "Support SH7366 processor"
3509109a30eSMagnus Damm	select CPU_SH4AL_DSP
3519109a30eSMagnus Damm	select CPU_SHX2
3529109a30eSMagnus Damm	select ARCH_SPARSEMEM_ENABLE
3539109a30eSMagnus Damm	select SYS_SUPPORTS_NUMA
3549109a30eSMagnus Damm
355ea0e1a9aSPaul Mundt# SH-5 Processor Support
356ea0e1a9aSPaul Mundt
357ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_101
358ea0e1a9aSPaul Mundt	bool "Support SH5-101 processor"
359ea0e1a9aSPaul Mundt	select CPU_SH5
360ea0e1a9aSPaul Mundt
361ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_103
362ea0e1a9aSPaul Mundt	bool "Support SH5-103 processor"
3638ef97dd7SPaul Mundt	select CPU_SH5
364ea0e1a9aSPaul Mundt
365ea0e1a9aSPaul Mundtendchoice
366ea0e1a9aSPaul Mundt
367ea0e1a9aSPaul Mundtsource "arch/sh/mm/Kconfig"
368939a24a6SPaul Mundt
369ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.cpu"
370ea0e1a9aSPaul Mundt
371939a24a6SPaul Mundtsource "arch/sh/boards/Kconfig"
372ea0e1a9aSPaul Mundt
373ea0e1a9aSPaul Mundtmenu "Timer and clock configuration"
374ea0e1a9aSPaul Mundt
375ea0e1a9aSPaul Mundtconfig SH_TMU
376d7ef4fb3SHarvey Harrison	def_bool y
377d7ef4fb3SHarvey Harrison	prompt "TMU timer support"
378ea0e1a9aSPaul Mundt	depends on CPU_SH3 || CPU_SH4
379ea0e1a9aSPaul Mundt	select GENERIC_TIME
380ea0e1a9aSPaul Mundt	select GENERIC_CLOCKEVENTS
381ea0e1a9aSPaul Mundt	help
382ea0e1a9aSPaul Mundt	  This enables the use of the TMU as the system timer.
383ea0e1a9aSPaul Mundt
384ea0e1a9aSPaul Mundtconfig SH_CMT
385d7ef4fb3SHarvey Harrison	def_bool y
386d7ef4fb3SHarvey Harrison	prompt "CMT timer support"
3872ad69908SPaul Mundt	depends on CPU_SH2 && !CPU_SUBTYPE_MXG
388ea0e1a9aSPaul Mundt	help
389ea0e1a9aSPaul Mundt	  This enables the use of the CMT as the system timer.
390ea0e1a9aSPaul Mundt
391ea0e1a9aSPaul Mundtconfig SH_MTU2
392d7ef4fb3SHarvey Harrison	def_bool n
393d7ef4fb3SHarvey Harrison	prompt "MTU2 timer support"
394ea0e1a9aSPaul Mundt	depends on CPU_SH2A
395ea0e1a9aSPaul Mundt	help
396ea0e1a9aSPaul Mundt	  This enables the use of the MTU2 as the system timer.
397ea0e1a9aSPaul Mundt
398ea0e1a9aSPaul Mundtconfig SH_TIMER_IRQ
399ea0e1a9aSPaul Mundt	int
4007d740a06SYoshihiro Shimoda	default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
4017d740a06SYoshihiro Shimoda			CPU_SUBTYPE_SH7763
402ea0e1a9aSPaul Mundt	default "86" if CPU_SUBTYPE_SH7619
403ea0e1a9aSPaul Mundt	default "140" if CPU_SUBTYPE_SH7206
4042b2d4e70SPaul Mundt	default "142" if CPU_SUBTYPE_SH7203
4052ad69908SPaul Mundt	default "238" if CPU_SUBTYPE_MXG
406ea0e1a9aSPaul Mundt	default "16"
407ea0e1a9aSPaul Mundt
408ea0e1a9aSPaul Mundtconfig SH_PCLK_FREQ
409ea0e1a9aSPaul Mundt	int "Peripheral clock frequency (in Hz)"
410ea0e1a9aSPaul Mundt	default "27000000" if CPU_SUBTYPE_SH7343
411ea0e1a9aSPaul Mundt	default "31250000" if CPU_SUBTYPE_SH7619
412ea0e1a9aSPaul Mundt	default "32000000" if CPU_SUBTYPE_SH7722
413178dd0cdSPaul Mundt	default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
414ea0e1a9aSPaul Mundt			      CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
415a8f67f4bSPaul Mundt			      CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
4162ad69908SPaul Mundt			      CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG
417ea0e1a9aSPaul Mundt	default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
418ea0e1a9aSPaul Mundt	default "66000000" if CPU_SUBTYPE_SH4_202
419ea0e1a9aSPaul Mundt	default "50000000"
420ea0e1a9aSPaul Mundt	help
421ea0e1a9aSPaul Mundt	  This option is used to specify the peripheral clock frequency.
422ea0e1a9aSPaul Mundt	  This is necessary for determining the reference clock value on
423ea0e1a9aSPaul Mundt	  platforms lacking an RTC.
424ea0e1a9aSPaul Mundt
425ea0e1a9aSPaul Mundtconfig SH_CLK_MD
426ea0e1a9aSPaul Mundt	int "CPU Mode Pin Setting"
4276d01f510SPaul Mundt	depends on CPU_SH2
428ea0e1a9aSPaul Mundt	default 6 if CPU_SUBTYPE_SH7206
429ea0e1a9aSPaul Mundt	default 5 if CPU_SUBTYPE_SH7619
430ea0e1a9aSPaul Mundt	default 0
431ea0e1a9aSPaul Mundt	help
432ea0e1a9aSPaul Mundt	  MD2 - MD0 pin setting.
433ea0e1a9aSPaul Mundt
434ea0e1a9aSPaul Mundtsource "kernel/time/Kconfig"
435ea0e1a9aSPaul Mundt
436ea0e1a9aSPaul Mundtendmenu
437ea0e1a9aSPaul Mundt
438ea0e1a9aSPaul Mundtmenu "CPU Frequency scaling"
439ea0e1a9aSPaul Mundt
440ea0e1a9aSPaul Mundtsource "drivers/cpufreq/Kconfig"
441ea0e1a9aSPaul Mundt
442ea0e1a9aSPaul Mundtconfig SH_CPU_FREQ
443ea0e1a9aSPaul Mundt	tristate "SuperH CPU Frequency driver"
444ea0e1a9aSPaul Mundt	depends on CPU_FREQ
445ea0e1a9aSPaul Mundt	select CPU_FREQ_TABLE
446ea0e1a9aSPaul Mundt	help
447ea0e1a9aSPaul Mundt	  This adds the cpufreq driver for SuperH. At present, only
448ea0e1a9aSPaul Mundt	  the SH-4 is supported.
449ea0e1a9aSPaul Mundt
450ea0e1a9aSPaul Mundt	  For details, take a look at <file:Documentation/cpu-freq>.
451ea0e1a9aSPaul Mundt
452ea0e1a9aSPaul Mundt	  If unsure, say N.
453ea0e1a9aSPaul Mundt
454ea0e1a9aSPaul Mundtendmenu
455ea0e1a9aSPaul Mundt
456ea0e1a9aSPaul Mundtsource "arch/sh/drivers/Kconfig"
457ea0e1a9aSPaul Mundt
458ea0e1a9aSPaul Mundtendmenu
459ea0e1a9aSPaul Mundt
460ea0e1a9aSPaul Mundtconfig ISA_DMA_API
461f5f826c6SAdrian Bunk	bool
462ea0e1a9aSPaul Mundt
463ea0e1a9aSPaul Mundtmenu "Kernel features"
464ea0e1a9aSPaul Mundt
465ea0e1a9aSPaul Mundtsource kernel/Kconfig.hz
466ea0e1a9aSPaul Mundt
467ea0e1a9aSPaul Mundtconfig KEXEC
468ea0e1a9aSPaul Mundt	bool "kexec system call (EXPERIMENTAL)"
469640f7487SPaul Mundt	depends on SUPERH32 && EXPERIMENTAL
470ea0e1a9aSPaul Mundt	help
471ea0e1a9aSPaul Mundt	  kexec is a system call that implements the ability to shutdown your
472ea0e1a9aSPaul Mundt	  current kernel, and to start another kernel.  It is like a reboot
473ea0e1a9aSPaul Mundt	  but it is independent of the system firmware.  And like a reboot
474ea0e1a9aSPaul Mundt	  you can start any kernel with it, not just Linux.
475ea0e1a9aSPaul Mundt
476ea0e1a9aSPaul Mundt	  The name comes from the similarity to the exec system call.
477ea0e1a9aSPaul Mundt
478ea0e1a9aSPaul Mundt	  It is an ongoing process to be certain the hardware in a machine
479ea0e1a9aSPaul Mundt	  is properly shutdown, so do not be surprised if this code does not
480ea0e1a9aSPaul Mundt	  initially work for you.  It may help to enable device hotplugging
481ea0e1a9aSPaul Mundt	  support.  As of this writing the exact hardware interface is
482ea0e1a9aSPaul Mundt	  strongly in flux, so no good recommendation can be made.
483ea0e1a9aSPaul Mundt
484ea0e1a9aSPaul Mundtconfig CRASH_DUMP
485ea0e1a9aSPaul Mundt	bool "kernel crash dumps (EXPERIMENTAL)"
486640f7487SPaul Mundt	depends on SUPERH32 && EXPERIMENTAL
487ea0e1a9aSPaul Mundt	help
488ea0e1a9aSPaul Mundt	  Generate crash dump after being started by kexec.
489ea0e1a9aSPaul Mundt	  This should be normally only set in special crash dump kernels
490ea0e1a9aSPaul Mundt	  which are loaded in the main kernel with kexec-tools into
491ea0e1a9aSPaul Mundt	  a specially reserved region and then later executed after
492ea0e1a9aSPaul Mundt	  a crash by kdump/kexec. The crash dump kernel must be compiled
493ea0e1a9aSPaul Mundt	  to a memory address not used by the main kernel using
494ea0e1a9aSPaul Mundt	  MEMORY_START.
495ea0e1a9aSPaul Mundt
496ea0e1a9aSPaul Mundt	  For more details see Documentation/kdump/kdump.txt
497ea0e1a9aSPaul Mundt
498c4637d47SPaul Mundtconfig SECCOMP
499c4637d47SPaul Mundt	bool "Enable seccomp to safely compute untrusted bytecode"
500c4637d47SPaul Mundt	depends on PROC_FS
501c4637d47SPaul Mundt	help
502c4637d47SPaul Mundt	  This kernel feature is useful for number crunching applications
503c4637d47SPaul Mundt	  that may need to compute untrusted bytecode during their
504c4637d47SPaul Mundt	  execution. By using pipes or other transports made available to
505c4637d47SPaul Mundt	  the process as file descriptors supporting the read/write
506c4637d47SPaul Mundt	  syscalls, it's possible to isolate those applications in
507c4637d47SPaul Mundt	  their own address space using seccomp. Once seccomp is
508c4637d47SPaul Mundt	  enabled via prctl, it cannot be disabled and the task is only
509c4637d47SPaul Mundt	  allowed to execute a few safe syscalls defined by each seccomp
510c4637d47SPaul Mundt	  mode.
511c4637d47SPaul Mundt
512c4637d47SPaul Mundt	  If unsure, say N.
513c4637d47SPaul Mundt
514ea0e1a9aSPaul Mundtconfig SMP
515ea0e1a9aSPaul Mundt	bool "Symmetric multi-processing support"
516ea0e1a9aSPaul Mundt	depends on SYS_SUPPORTS_SMP
517490f5de5SJens Axboe	select USE_GENERIC_SMP_HELPERS
518ea0e1a9aSPaul Mundt	---help---
519ea0e1a9aSPaul Mundt	  This enables support for systems with more than one CPU. If you have
520ea0e1a9aSPaul Mundt	  a system with only one CPU, like most personal computers, say N. If
521ea0e1a9aSPaul Mundt	  you have a system with more than one CPU, say Y.
522ea0e1a9aSPaul Mundt
523ea0e1a9aSPaul Mundt	  If you say N here, the kernel will run on single and multiprocessor
524ea0e1a9aSPaul Mundt	  machines, but will use only one CPU of a multiprocessor machine. If
525ea0e1a9aSPaul Mundt	  you say Y here, the kernel will run on many, but not all,
526ea0e1a9aSPaul Mundt	  singleprocessor machines. On a singleprocessor machine, the kernel
527ea0e1a9aSPaul Mundt	  will run faster if you say N here.
528ea0e1a9aSPaul Mundt
529ea0e1a9aSPaul Mundt	  People using multiprocessor machines who say Y here should also say
530ea0e1a9aSPaul Mundt	  Y to "Enhanced Real Time Clock Support", below.
531ea0e1a9aSPaul Mundt
53203502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
53303502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
534ea0e1a9aSPaul Mundt
535ea0e1a9aSPaul Mundt	  If you don't know what to do here, say N.
536ea0e1a9aSPaul Mundt
537ea0e1a9aSPaul Mundtconfig NR_CPUS
538ea0e1a9aSPaul Mundt	int "Maximum number of CPUs (2-32)"
539ea0e1a9aSPaul Mundt	range 2 32
540ea0e1a9aSPaul Mundt	depends on SMP
541ea0e1a9aSPaul Mundt	default "4" if CPU_SHX3
542ea0e1a9aSPaul Mundt	default "2"
543ea0e1a9aSPaul Mundt	help
544ea0e1a9aSPaul Mundt	  This allows you to specify the maximum number of CPUs which this
545ea0e1a9aSPaul Mundt	  kernel will support.  The maximum supported value is 32 and the
546ea0e1a9aSPaul Mundt	  minimum value which makes sense is 2.
547ea0e1a9aSPaul Mundt
548ea0e1a9aSPaul Mundt	  This is purely to save memory - each supported CPU adds
549ea0e1a9aSPaul Mundt	  approximately eight kilobytes to the kernel image.
550ea0e1a9aSPaul Mundt
551ea0e1a9aSPaul Mundtsource "kernel/Kconfig.preempt"
552ea0e1a9aSPaul Mundt
553ea0e1a9aSPaul Mundtconfig GUSA
554ea0e1a9aSPaul Mundt	def_bool y
5551efe4ce3SStuart Menefy	depends on !SMP && SUPERH32
556ea0e1a9aSPaul Mundt	help
557ea0e1a9aSPaul Mundt	  This enables support for gUSA (general UserSpace Atomicity).
558ea0e1a9aSPaul Mundt	  This is the default implementation for both UP and non-ll/sc
559ea0e1a9aSPaul Mundt	  CPUs, and is used by the libc, amongst others.
560ea0e1a9aSPaul Mundt
561ea0e1a9aSPaul Mundt	  For additional information, design information can be found
562ea0e1a9aSPaul Mundt	  in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
563ea0e1a9aSPaul Mundt
564ea0e1a9aSPaul Mundt	  This should only be disabled for special cases where alternate
565ea0e1a9aSPaul Mundt	  atomicity implementations exist.
566ea0e1a9aSPaul Mundt
5671efe4ce3SStuart Menefyconfig GUSA_RB
5681efe4ce3SStuart Menefy	bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
5691efe4ce3SStuart Menefy	depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
5701efe4ce3SStuart Menefy	help
5711efe4ce3SStuart Menefy	  Enabling this option will allow the kernel to implement some
5721efe4ce3SStuart Menefy	  atomic operations using a software implemention of load-locked/
5731efe4ce3SStuart Menefy	  store-conditional (LLSC). On machines which do not have hardware
5741efe4ce3SStuart Menefy	  LLSC, this should be more efficient than the other alternative of
5751efe4ce3SStuart Menefy	  disabling insterrupts around the atomic sequence.
5761efe4ce3SStuart Menefy
577ea0e1a9aSPaul Mundtendmenu
578ea0e1a9aSPaul Mundt
579ea0e1a9aSPaul Mundtmenu "Boot options"
580ea0e1a9aSPaul Mundt
581ea0e1a9aSPaul Mundtconfig ZERO_PAGE_OFFSET
582ea0e1a9aSPaul Mundt	hex "Zero page offset"
583f5f826c6SAdrian Bunk	default "0x00004000" if SH_SH03
584ea0e1a9aSPaul Mundt	default "0x00010000" if PAGE_SIZE_64KB
585ea0e1a9aSPaul Mundt	default "0x00002000" if PAGE_SIZE_8KB
586ea0e1a9aSPaul Mundt	default "0x00001000"
587ea0e1a9aSPaul Mundt	help
588ea0e1a9aSPaul Mundt	  This sets the default offset of zero page.
589ea0e1a9aSPaul Mundt
590ea0e1a9aSPaul Mundtconfig BOOT_LINK_OFFSET
591ea0e1a9aSPaul Mundt	hex "Link address offset for booting"
592ea0e1a9aSPaul Mundt	default "0x00800000"
593ea0e1a9aSPaul Mundt	help
594ea0e1a9aSPaul Mundt	  This option allows you to set the link address offset of the zImage.
595ea0e1a9aSPaul Mundt	  This can be useful if you are on a board which has a small amount of
596ea0e1a9aSPaul Mundt	  memory.
597ea0e1a9aSPaul Mundt
598ea0e1a9aSPaul Mundtconfig UBC_WAKEUP
599ea0e1a9aSPaul Mundt	bool "Wakeup UBC on startup"
600ea0e1a9aSPaul Mundt	depends on CPU_SH4 && !CPU_SH4A
601ea0e1a9aSPaul Mundt	help
602ea0e1a9aSPaul Mundt	  Selecting this option will wakeup the User Break Controller (UBC) on
603ea0e1a9aSPaul Mundt	  startup. Although the UBC is left in an awake state when the processor
604ea0e1a9aSPaul Mundt	  comes up, some boot loaders misbehave by putting the UBC to sleep in a
605ea0e1a9aSPaul Mundt	  power saving state, which causes issues with things like ptrace().
606ea0e1a9aSPaul Mundt
607ea0e1a9aSPaul Mundt	  If unsure, say N.
608ea0e1a9aSPaul Mundt
609ea0e1a9aSPaul Mundtconfig CMDLINE_BOOL
610ea0e1a9aSPaul Mundt	bool "Default bootloader kernel arguments"
611ea0e1a9aSPaul Mundt
612ea0e1a9aSPaul Mundtconfig CMDLINE
613ea0e1a9aSPaul Mundt	string "Initial kernel command string"
614ea0e1a9aSPaul Mundt	depends on CMDLINE_BOOL
615ea0e1a9aSPaul Mundt	default "console=ttySC1,115200"
616ea0e1a9aSPaul Mundt
617ea0e1a9aSPaul Mundtendmenu
618ea0e1a9aSPaul Mundt
619ea0e1a9aSPaul Mundtmenu "Bus options"
620ea0e1a9aSPaul Mundt
621ea0e1a9aSPaul Mundt# Even on SuperH devices which don't have an ISA bus,
622ea0e1a9aSPaul Mundt# this variable helps the PCMCIA modules handle
623ea0e1a9aSPaul Mundt# IRQ requesting properly -- Greg Banks.
624ea0e1a9aSPaul Mundt#
625ea0e1a9aSPaul Mundt# Though we're generally not interested in it when
626ea0e1a9aSPaul Mundt# we're not using PCMCIA, so we make it dependent on
627ea0e1a9aSPaul Mundt# PCMCIA outright. -- PFM.
628ea0e1a9aSPaul Mundtconfig ISA
629ea0e1a9aSPaul Mundt	def_bool y
630ea0e1a9aSPaul Mundt	depends on PCMCIA && HD6446X_SERIES
631ea0e1a9aSPaul Mundt	help
632ea0e1a9aSPaul Mundt	  Find out whether you have ISA slots on your motherboard.  ISA is the
633ea0e1a9aSPaul Mundt	  name of a bus system, i.e. the way the CPU talks to the other stuff
634ea0e1a9aSPaul Mundt	  inside your box.  Other bus systems are PCI, EISA, MicroChannel
635ea0e1a9aSPaul Mundt	  (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
636ea0e1a9aSPaul Mundt	  newer boards don't support it.  If you have ISA, say Y, otherwise N.
637ea0e1a9aSPaul Mundt
638ea0e1a9aSPaul Mundtconfig EISA
639ea0e1a9aSPaul Mundt	bool
640ea0e1a9aSPaul Mundt	---help---
641ea0e1a9aSPaul Mundt	  The Extended Industry Standard Architecture (EISA) bus was
642ea0e1a9aSPaul Mundt	  developed as an open alternative to the IBM MicroChannel bus.
643ea0e1a9aSPaul Mundt
644ea0e1a9aSPaul Mundt	  The EISA bus provided some of the features of the IBM MicroChannel
645ea0e1a9aSPaul Mundt	  bus while maintaining backward compatibility with cards made for
646ea0e1a9aSPaul Mundt	  the older ISA bus.  The EISA bus saw limited use between 1988 and
647ea0e1a9aSPaul Mundt	  1995 when it was made obsolete by the PCI bus.
648ea0e1a9aSPaul Mundt
649ea0e1a9aSPaul Mundt	  Say Y here if you are building a kernel for an EISA-based machine.
650ea0e1a9aSPaul Mundt
651ea0e1a9aSPaul Mundt	  Otherwise, say N.
652ea0e1a9aSPaul Mundt
653ea0e1a9aSPaul Mundtconfig MCA
654ea0e1a9aSPaul Mundt	bool
655ea0e1a9aSPaul Mundt	help
656ea0e1a9aSPaul Mundt	  MicroChannel Architecture is found in some IBM PS/2 machines and
657ea0e1a9aSPaul Mundt	  laptops.  It is a bus system similar to PCI or ISA. See
658ea0e1a9aSPaul Mundt	  <file:Documentation/mca.txt> (and especially the web page given
659ea0e1a9aSPaul Mundt	  there) before attempting to build an MCA bus kernel.
660ea0e1a9aSPaul Mundt
661ea0e1a9aSPaul Mundtconfig SBUS
662ea0e1a9aSPaul Mundt	bool
663ea0e1a9aSPaul Mundt
664ea0e1a9aSPaul Mundtconfig SUPERHYWAY
665ea0e1a9aSPaul Mundt	tristate "SuperHyway Bus support"
666ea0e1a9aSPaul Mundt	depends on CPU_SUBTYPE_SH4_202
667ea0e1a9aSPaul Mundt
668ea0e1a9aSPaul Mundtconfig MAPLE
669ea0e1a9aSPaul Mundt       bool "Maple Bus support"
670ea0e1a9aSPaul Mundt       depends on SH_DREAMCAST
671ea0e1a9aSPaul Mundt       help
672ea0e1a9aSPaul Mundt         The Maple Bus is SEGA's serial communication bus for peripherals
673ea0e1a9aSPaul Mundt         on the Dreamcast. Without this bus support you won't be able to
674ea0e1a9aSPaul Mundt         get your Dreamcast keyboard etc to work, so most users
675ea0e1a9aSPaul Mundt         probably want to say 'Y' here, unless you are only using the
676ea0e1a9aSPaul Mundt         Dreamcast with a serial line terminal or a remote network
677ea0e1a9aSPaul Mundt         connection.
678ea0e1a9aSPaul Mundt
679ea0e1a9aSPaul Mundtconfig CF_ENABLER
680ea0e1a9aSPaul Mundt	bool "Compact Flash Enabler support"
681ea0e1a9aSPaul Mundt	depends on SOLUTION_ENGINE || SH_SH03
682ea0e1a9aSPaul Mundt	---help---
683ea0e1a9aSPaul Mundt	  Compact Flash is a small, removable mass storage device introduced
684ea0e1a9aSPaul Mundt	  in 1994 originally as a PCMCIA device.  If you say `Y' here, you
685ea0e1a9aSPaul Mundt	  compile in support for Compact Flash devices directly connected to
686ea0e1a9aSPaul Mundt	  a SuperH processor.  A Compact Flash FAQ is available at
687ea0e1a9aSPaul Mundt	  <http://www.compactflash.org/faqs/faq.htm>.
688ea0e1a9aSPaul Mundt
689ea0e1a9aSPaul Mundt	  If your board has "Directly Connected" CompactFlash at area 5 or 6,
690ea0e1a9aSPaul Mundt	  you may want to enable this option.  Then, you can use CF as
691ea0e1a9aSPaul Mundt	  primary IDE drive (only tested for SanDisk).
692ea0e1a9aSPaul Mundt
693ea0e1a9aSPaul Mundt	  If in doubt, select 'N'.
694ea0e1a9aSPaul Mundt
695ea0e1a9aSPaul Mundtchoice
696ea0e1a9aSPaul Mundt	prompt "Compact Flash Connection Area"
697ea0e1a9aSPaul Mundt	depends on CF_ENABLER
698ea0e1a9aSPaul Mundt	default CF_AREA6
699ea0e1a9aSPaul Mundt
700ea0e1a9aSPaul Mundtconfig CF_AREA5
701ea0e1a9aSPaul Mundt	bool "Area5"
702ea0e1a9aSPaul Mundt	help
703ea0e1a9aSPaul Mundt	  If your board has "Directly Connected" CompactFlash, You should
704ea0e1a9aSPaul Mundt	  select the area where your CF is connected to.
705ea0e1a9aSPaul Mundt
706ea0e1a9aSPaul Mundt	  - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
707ea0e1a9aSPaul Mundt	  - "Area6" if it is connected to Area 6 (0x18000000)
708ea0e1a9aSPaul Mundt
709ea0e1a9aSPaul Mundt	  "Area6" will work for most boards.
710ea0e1a9aSPaul Mundt
711ea0e1a9aSPaul Mundtconfig CF_AREA6
712ea0e1a9aSPaul Mundt	bool "Area6"
713ea0e1a9aSPaul Mundt
714ea0e1a9aSPaul Mundtendchoice
715ea0e1a9aSPaul Mundt
716ea0e1a9aSPaul Mundtconfig CF_BASE_ADDR
717ea0e1a9aSPaul Mundt	hex
718ea0e1a9aSPaul Mundt	depends on CF_ENABLER
719ea0e1a9aSPaul Mundt	default "0xb8000000" if CF_AREA6
720ea0e1a9aSPaul Mundt	default "0xb4000000" if CF_AREA5
721ea0e1a9aSPaul Mundt
722ea0e1a9aSPaul Mundtsource "arch/sh/drivers/pci/Kconfig"
723ea0e1a9aSPaul Mundt
724ea0e1a9aSPaul Mundtsource "drivers/pci/Kconfig"
725ea0e1a9aSPaul Mundt
726ea0e1a9aSPaul Mundtsource "drivers/pcmcia/Kconfig"
727ea0e1a9aSPaul Mundt
728ea0e1a9aSPaul Mundtsource "drivers/pci/hotplug/Kconfig"
729ea0e1a9aSPaul Mundt
730ea0e1a9aSPaul Mundtendmenu
731ea0e1a9aSPaul Mundt
732ea0e1a9aSPaul Mundtmenu "Executable file formats"
733ea0e1a9aSPaul Mundt
734ea0e1a9aSPaul Mundtsource "fs/Kconfig.binfmt"
735ea0e1a9aSPaul Mundt
736ea0e1a9aSPaul Mundtendmenu
737ea0e1a9aSPaul Mundt
738ea0e1a9aSPaul Mundtmenu "Power management options (EXPERIMENTAL)"
739ea0e1a9aSPaul Mundtdepends on EXPERIMENTAL && SYS_SUPPORTS_PM
740ea0e1a9aSPaul Mundt
741f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
742f4cb5700SJohannes Berg	def_bool y
743f4cb5700SJohannes Berg	depends on !SMP
744f4cb5700SJohannes Berg
745ea0e1a9aSPaul Mundtsource kernel/power/Kconfig
746ea0e1a9aSPaul Mundt
747ea0e1a9aSPaul Mundtendmenu
748ea0e1a9aSPaul Mundt
749ea0e1a9aSPaul Mundtsource "net/Kconfig"
750ea0e1a9aSPaul Mundt
751ea0e1a9aSPaul Mundtsource "drivers/Kconfig"
752ea0e1a9aSPaul Mundt
753ea0e1a9aSPaul Mundtsource "fs/Kconfig"
754ea0e1a9aSPaul Mundt
755ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.debug"
756ea0e1a9aSPaul Mundt
757ea0e1a9aSPaul Mundtsource "security/Kconfig"
758ea0e1a9aSPaul Mundt
759ea0e1a9aSPaul Mundtsource "crypto/Kconfig"
760ea0e1a9aSPaul Mundt
761ea0e1a9aSPaul Mundtsource "lib/Kconfig"
762