Merge git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-2.6 into test
[pandora-kernel.git] / arch / sh / Kconfig
1 config SUPERH
2         def_bool y
3         select EMBEDDED
4         select HAVE_CLK
5         select HAVE_IDE if HAS_IOPORT
6         select HAVE_MEMBLOCK
7         select HAVE_OPROFILE
8         select HAVE_GENERIC_DMA_COHERENT
9         select HAVE_ARCH_TRACEHOOK
10         select HAVE_DMA_API_DEBUG
11         select HAVE_DMA_ATTRS
12         select HAVE_IRQ_WORK
13         select HAVE_PERF_EVENTS
14         select PERF_USE_VMALLOC
15         select HAVE_KERNEL_GZIP
16         select HAVE_KERNEL_BZIP2
17         select HAVE_KERNEL_LZMA
18         select HAVE_KERNEL_LZO
19         select HAVE_SYSCALL_TRACEPOINTS
20         select HAVE_REGS_AND_STACK_ACCESS_API
21         select HAVE_GENERIC_HARDIRQS
22         select HAVE_SPARSE_IRQ
23         select RTC_LIB
24         select GENERIC_ATOMIC64
25         select GENERIC_HARDIRQS_NO_DEPRECATED
26         help
27           The SuperH is a RISC processor targeted for use in embedded systems
28           and consumer electronics; it was also used in the Sega Dreamcast
29           gaming console.  The SuperH port has a home page at
30           <http://www.linux-sh.org/>.
31
32 config SUPERH32
33         def_bool ARCH = "sh"
34         select HAVE_KPROBES
35         select HAVE_KRETPROBES
36         select HAVE_IOREMAP_PROT if MMU && !X2TLB
37         select HAVE_FUNCTION_TRACER
38         select HAVE_FTRACE_MCOUNT_RECORD
39         select HAVE_DYNAMIC_FTRACE
40         select HAVE_FUNCTION_TRACE_MCOUNT_TEST
41         select HAVE_FTRACE_NMI_ENTER if DYNAMIC_FTRACE
42         select HAVE_FUNCTION_GRAPH_TRACER
43         select HAVE_ARCH_KGDB
44         select HAVE_HW_BREAKPOINT
45         select HAVE_MIXED_BREAKPOINTS_REGS
46         select PERF_EVENTS
47         select ARCH_HIBERNATION_POSSIBLE if MMU
48         select SPARSE_IRQ
49
50 config SUPERH64
51         def_bool ARCH = "sh64"
52
53 config ARCH_DEFCONFIG
54         string
55         default "arch/sh/configs/shx3_defconfig" if SUPERH32
56         default "arch/sh/configs/cayman_defconfig" if SUPERH64
57
58 config RWSEM_GENERIC_SPINLOCK
59         def_bool y
60
61 config RWSEM_XCHGADD_ALGORITHM
62         bool
63
64 config GENERIC_BUG
65         def_bool y
66         depends on BUG && SUPERH32
67
68 config GENERIC_CSUM
69         def_bool y
70         depends on SUPERH64
71
72 config GENERIC_FIND_NEXT_BIT
73         def_bool y
74
75 config GENERIC_HWEIGHT
76         def_bool y
77
78 config IRQ_PER_CPU
79         def_bool y
80
81 config GENERIC_GPIO
82         def_bool n
83
84 config GENERIC_CALIBRATE_DELAY
85         bool
86
87 config GENERIC_IOMAP
88         bool
89
90 config GENERIC_CLOCKEVENTS
91         def_bool y
92
93 config GENERIC_CLOCKEVENTS_BROADCAST
94         bool
95
96 config GENERIC_CMOS_UPDATE
97         def_bool y
98         depends on SH_SH03 || SH_DREAMCAST
99
100 config GENERIC_LOCKBREAK
101         def_bool y
102         depends on SMP && PREEMPT
103
104 config SYS_SUPPORTS_PM
105         bool
106         depends on !SMP
107
108 config ARCH_SUSPEND_POSSIBLE
109         def_bool n
110
111 config ARCH_HIBERNATION_POSSIBLE
112         def_bool n
113
114 config SYS_SUPPORTS_APM_EMULATION
115         bool
116         select ARCH_SUSPEND_POSSIBLE
117
118 config SYS_SUPPORTS_HUGETLBFS
119         bool
120
121 config SYS_SUPPORTS_SMP
122         bool
123
124 config SYS_SUPPORTS_NUMA
125         bool
126
127 config SYS_SUPPORTS_PCI
128         bool
129
130 config SYS_SUPPORTS_CMT
131         bool
132
133 config SYS_SUPPORTS_MTU2
134         bool
135
136 config SYS_SUPPORTS_TMU
137         bool
138
139 config STACKTRACE_SUPPORT
140         def_bool y
141
142 config LOCKDEP_SUPPORT
143         def_bool y
144
145 config HAVE_LATENCYTOP_SUPPORT
146         def_bool y
147
148 config ARCH_HAS_ILOG2_U32
149         def_bool n
150
151 config ARCH_HAS_ILOG2_U64
152         def_bool n
153
154 config ARCH_NO_VIRT_TO_BUS
155         def_bool y
156
157 config ARCH_HAS_DEFAULT_IDLE
158         def_bool y
159
160 config ARCH_HAS_CPU_IDLE_WAIT
161         def_bool y
162
163 config NO_IOPORT
164         bool
165
166 config IO_TRAPPED
167         bool
168
169 config DMA_COHERENT
170         bool
171
172 config DMA_NONCOHERENT
173         def_bool !DMA_COHERENT
174
175 config NEED_DMA_MAP_STATE
176         def_bool DMA_NONCOHERENT
177
178 config NEED_SG_DMA_LENGTH
179         def_bool y
180
181 source "init/Kconfig"
182
183 source "kernel/Kconfig.freezer"
184
185 menu "System type"
186
187 #
188 # Processor families
189 #
190 config CPU_SH2
191         bool
192
193 config CPU_SH2A
194         bool
195         select CPU_SH2
196
197 config CPU_SH3
198         bool
199         select CPU_HAS_INTEVT
200         select CPU_HAS_SR_RB
201         select SYS_SUPPORTS_TMU
202
203 config CPU_SH4
204         bool
205         select CPU_HAS_INTEVT
206         select CPU_HAS_SR_RB
207         select CPU_HAS_FPU if !CPU_SH4AL_DSP
208         select SYS_SUPPORTS_TMU
209         select SYS_SUPPORTS_HUGETLBFS if MMU
210
211 config CPU_SH4A
212         bool
213         select CPU_SH4
214
215 config CPU_SH4AL_DSP
216         bool
217         select CPU_SH4A
218         select CPU_HAS_DSP
219
220 config CPU_SH5
221         bool
222         select CPU_HAS_FPU
223         select SYS_SUPPORTS_TMU
224         select SYS_SUPPORTS_HUGETLBFS if MMU
225
226 config CPU_SHX2
227         bool
228
229 config CPU_SHX3
230         bool
231         select DMA_COHERENT
232         select SYS_SUPPORTS_SMP
233         select SYS_SUPPORTS_NUMA
234
235 config ARCH_SHMOBILE
236         bool
237         select ARCH_SUSPEND_POSSIBLE
238         select PM
239         select PM_RUNTIME
240
241 config CPU_HAS_PMU
242        depends on CPU_SH4 || CPU_SH4A
243        default y
244        bool
245
246 if SUPERH32
247
248 choice
249         prompt "Processor sub-type selection"
250
251 #
252 # Processor subtypes
253 #
254
255 # SH-2 Processor Support
256
257 config CPU_SUBTYPE_SH7619
258         bool "Support SH7619 processor"
259         select CPU_SH2
260         select SYS_SUPPORTS_CMT
261
262 # SH-2A Processor Support
263
264 config CPU_SUBTYPE_SH7201
265         bool "Support SH7201 processor"
266         select CPU_SH2A
267         select CPU_HAS_FPU
268         select SYS_SUPPORTS_MTU2
269  
270 config CPU_SUBTYPE_SH7203
271         bool "Support SH7203 processor"
272         select CPU_SH2A
273         select CPU_HAS_FPU
274         select SYS_SUPPORTS_CMT
275         select SYS_SUPPORTS_MTU2
276
277 config CPU_SUBTYPE_SH7206
278         bool "Support SH7206 processor"
279         select CPU_SH2A
280         select SYS_SUPPORTS_CMT
281         select SYS_SUPPORTS_MTU2
282
283 config CPU_SUBTYPE_SH7263
284         bool "Support SH7263 processor"
285         select CPU_SH2A
286         select CPU_HAS_FPU
287         select SYS_SUPPORTS_CMT
288         select SYS_SUPPORTS_MTU2
289
290 config CPU_SUBTYPE_MXG
291         bool "Support MX-G processor"
292         select CPU_SH2A
293         select SYS_SUPPORTS_MTU2
294         help
295           Select MX-G if running on an R8A03022BG part.
296
297 # SH-3 Processor Support
298
299 config CPU_SUBTYPE_SH7705
300         bool "Support SH7705 processor"
301         select CPU_SH3
302
303 config CPU_SUBTYPE_SH7706
304         bool "Support SH7706 processor"
305         select CPU_SH3
306         help
307           Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
308
309 config CPU_SUBTYPE_SH7707
310         bool "Support SH7707 processor"
311         select CPU_SH3
312         help
313           Select SH7707 if you have a  60 Mhz SH-3 HD6417707 CPU.
314
315 config CPU_SUBTYPE_SH7708
316         bool "Support SH7708 processor"
317         select CPU_SH3
318         help
319           Select SH7708 if you have a  60 Mhz SH-3 HD6417708S or
320           if you have a 100 Mhz SH-3 HD6417708R CPU.
321
322 config CPU_SUBTYPE_SH7709
323         bool "Support SH7709 processor"
324         select CPU_SH3
325         help
326           Select SH7709 if you have a  80 Mhz SH-3 HD6417709 CPU.
327
328 config CPU_SUBTYPE_SH7710
329         bool "Support SH7710 processor"
330         select CPU_SH3
331         select CPU_HAS_DSP
332         help
333           Select SH7710 if you have a SH3-DSP SH7710 CPU.
334
335 config CPU_SUBTYPE_SH7712
336         bool "Support SH7712 processor"
337         select CPU_SH3
338         select CPU_HAS_DSP
339         help
340           Select SH7712 if you have a SH3-DSP SH7712 CPU.
341
342 config CPU_SUBTYPE_SH7720
343         bool "Support SH7720 processor"
344         select CPU_SH3
345         select CPU_HAS_DSP
346         select SYS_SUPPORTS_CMT
347         help
348           Select SH7720 if you have a SH3-DSP SH7720 CPU.
349
350 config CPU_SUBTYPE_SH7721
351         bool "Support SH7721 processor"
352         select CPU_SH3
353         select CPU_HAS_DSP
354         select SYS_SUPPORTS_CMT
355         help
356           Select SH7721 if you have a SH3-DSP SH7721 CPU.
357
358 # SH-4 Processor Support
359
360 config CPU_SUBTYPE_SH7750
361         bool "Support SH7750 processor"
362         select CPU_SH4
363         help
364           Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
365
366 config CPU_SUBTYPE_SH7091
367         bool "Support SH7091 processor"
368         select CPU_SH4
369         help
370           Select SH7091 if you have an SH-4 based Sega device (such as
371           the Dreamcast, Naomi, and Naomi 2).
372
373 config CPU_SUBTYPE_SH7750R
374         bool "Support SH7750R processor"
375         select CPU_SH4
376
377 config CPU_SUBTYPE_SH7750S
378         bool "Support SH7750S processor"
379         select CPU_SH4
380
381 config CPU_SUBTYPE_SH7751
382         bool "Support SH7751 processor"
383         select CPU_SH4
384         help
385           Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
386           or if you have a HD6417751R CPU.
387
388 config CPU_SUBTYPE_SH7751R
389         bool "Support SH7751R processor"
390         select CPU_SH4
391
392 config CPU_SUBTYPE_SH7760
393         bool "Support SH7760 processor"
394         select CPU_SH4
395
396 config CPU_SUBTYPE_SH4_202
397         bool "Support SH4-202 processor"
398         select CPU_SH4
399
400 # SH-4A Processor Support
401
402 config CPU_SUBTYPE_SH7723
403         bool "Support SH7723 processor"
404         select CPU_SH4A
405         select CPU_SHX2
406         select ARCH_SHMOBILE
407         select ARCH_SPARSEMEM_ENABLE
408         select SYS_SUPPORTS_CMT
409         help
410           Select SH7723 if you have an SH-MobileR2 CPU.
411
412 config CPU_SUBTYPE_SH7724
413         bool "Support SH7724 processor"
414         select CPU_SH4A
415         select CPU_SHX2
416         select ARCH_SHMOBILE
417         select ARCH_SPARSEMEM_ENABLE
418         select SYS_SUPPORTS_CMT
419         help
420           Select SH7724 if you have an SH-MobileR2R CPU.
421
422 config CPU_SUBTYPE_SH7757
423         bool "Support SH7757 processor"
424         select CPU_SH4A
425         select CPU_SHX2
426         help
427           Select SH7757 if you have a SH4A SH7757 CPU.
428
429 config CPU_SUBTYPE_SH7763
430         bool "Support SH7763 processor"
431         select CPU_SH4A
432         help
433           Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
434
435 config CPU_SUBTYPE_SH7770
436         bool "Support SH7770 processor"
437         select CPU_SH4A
438
439 config CPU_SUBTYPE_SH7780
440         bool "Support SH7780 processor"
441         select CPU_SH4A
442
443 config CPU_SUBTYPE_SH7785
444         bool "Support SH7785 processor"
445         select CPU_SH4A
446         select CPU_SHX2
447         select ARCH_SPARSEMEM_ENABLE
448         select SYS_SUPPORTS_NUMA
449
450 config CPU_SUBTYPE_SH7786
451         bool "Support SH7786 processor"
452         select CPU_SH4A
453         select CPU_SHX3
454         select CPU_HAS_PTEAEX
455         select GENERIC_CLOCKEVENTS_BROADCAST if SMP
456
457 config CPU_SUBTYPE_SHX3
458         bool "Support SH-X3 processor"
459         select CPU_SH4A
460         select CPU_SHX3
461         select GENERIC_CLOCKEVENTS_BROADCAST if SMP
462         select ARCH_REQUIRE_GPIOLIB
463
464 # SH4AL-DSP Processor Support
465
466 config CPU_SUBTYPE_SH7343
467         bool "Support SH7343 processor"
468         select CPU_SH4AL_DSP
469         select ARCH_SHMOBILE
470         select SYS_SUPPORTS_CMT
471
472 config CPU_SUBTYPE_SH7722
473         bool "Support SH7722 processor"
474         select CPU_SH4AL_DSP
475         select CPU_SHX2
476         select ARCH_SHMOBILE
477         select ARCH_SPARSEMEM_ENABLE
478         select SYS_SUPPORTS_NUMA
479         select SYS_SUPPORTS_CMT
480
481 config CPU_SUBTYPE_SH7366
482         bool "Support SH7366 processor"
483         select CPU_SH4AL_DSP
484         select CPU_SHX2
485         select ARCH_SHMOBILE
486         select ARCH_SPARSEMEM_ENABLE
487         select SYS_SUPPORTS_NUMA
488         select SYS_SUPPORTS_CMT
489
490 endchoice
491
492 endif
493
494 if SUPERH64
495
496 choice
497         prompt "Processor sub-type selection"
498
499 # SH-5 Processor Support
500
501 config CPU_SUBTYPE_SH5_101
502         bool "Support SH5-101 processor"
503         select CPU_SH5
504
505 config CPU_SUBTYPE_SH5_103
506         bool "Support SH5-103 processor"
507         select CPU_SH5
508
509 endchoice
510
511 endif
512
513 source "arch/sh/mm/Kconfig"
514  
515 source "arch/sh/Kconfig.cpu"
516
517 source "arch/sh/boards/Kconfig"
518
519 menu "Timer and clock configuration"
520
521 config SH_TIMER_TMU
522         bool "TMU timer driver"
523         depends on SYS_SUPPORTS_TMU
524         default y
525         help
526           This enables the build of the TMU timer driver.
527
528 config SH_TIMER_CMT
529         bool "CMT timer driver"
530         depends on SYS_SUPPORTS_CMT
531         default y
532         help
533           This enables build of the CMT timer driver.
534
535 config SH_TIMER_MTU2
536         bool "MTU2 timer driver"
537         depends on SYS_SUPPORTS_MTU2
538         default y
539         help
540           This enables build of the MTU2 timer driver.
541
542 config SH_PCLK_FREQ
543         int "Peripheral clock frequency (in Hz)"
544         depends on SH_CLK_CPG_LEGACY
545         default "31250000" if CPU_SUBTYPE_SH7619
546         default "33333333" if CPU_SUBTYPE_SH7770 || \
547                               CPU_SUBTYPE_SH7760 || \
548                               CPU_SUBTYPE_SH7705 || \
549                               CPU_SUBTYPE_SH7203 || \
550                               CPU_SUBTYPE_SH7206 || \
551                               CPU_SUBTYPE_SH7263 || \
552                               CPU_SUBTYPE_MXG
553         default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
554         default "66000000" if CPU_SUBTYPE_SH4_202
555         default "50000000"
556         help
557           This option is used to specify the peripheral clock frequency.
558           This is necessary for determining the reference clock value on
559           platforms lacking an RTC.
560
561 config SH_CLK_CPG
562         def_bool y
563
564 config SH_CLK_CPG_LEGACY
565         depends on SH_CLK_CPG
566         def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \
567                       !CPU_SHX3 && !CPU_SUBTYPE_SH7757
568
569 config SH_CLK_MD
570         int "CPU Mode Pin Setting"
571         depends on CPU_SH2
572         default 6 if CPU_SUBTYPE_SH7206
573         default 5 if CPU_SUBTYPE_SH7619
574         default 0
575         help
576           MD2 - MD0 pin setting.
577
578 source "kernel/time/Kconfig"
579
580 endmenu
581
582 menu "CPU Frequency scaling"
583
584 source "drivers/cpufreq/Kconfig"
585
586 config SH_CPU_FREQ
587         tristate "SuperH CPU Frequency driver"
588         depends on CPU_FREQ
589         select CPU_FREQ_TABLE
590         help
591           This adds the cpufreq driver for SuperH. Any CPU that supports
592           clock rate rounding through the clock framework can use this
593           driver. While it will make the kernel slightly larger, this is
594           harmless for CPUs that don't support rate rounding. The driver
595           will also generate a notice in the boot log before disabling
596           itself if the CPU in question is not capable of rate rounding.
597
598           For details, take a look at <file:Documentation/cpu-freq>.
599
600           If unsure, say N.
601
602 endmenu
603
604 source "arch/sh/drivers/Kconfig"
605
606 endmenu
607
608 menu "Kernel features"
609
610 source kernel/Kconfig.hz
611
612 config KEXEC
613         bool "kexec system call (EXPERIMENTAL)"
614         depends on SUPERH32 && EXPERIMENTAL && MMU
615         help
616           kexec is a system call that implements the ability to shutdown your
617           current kernel, and to start another kernel.  It is like a reboot
618           but it is independent of the system firmware.  And like a reboot
619           you can start any kernel with it, not just Linux.
620
621           The name comes from the similarity to the exec system call.
622
623           It is an ongoing process to be certain the hardware in a machine
624           is properly shutdown, so do not be surprised if this code does not
625           initially work for you.  It may help to enable device hotplugging
626           support.  As of this writing the exact hardware interface is
627           strongly in flux, so no good recommendation can be made.
628
629 config CRASH_DUMP
630         bool "kernel crash dumps (EXPERIMENTAL)"
631         depends on SUPERH32 && EXPERIMENTAL && BROKEN_ON_SMP
632         help
633           Generate crash dump after being started by kexec.
634           This should be normally only set in special crash dump kernels
635           which are loaded in the main kernel with kexec-tools into
636           a specially reserved region and then later executed after
637           a crash by kdump/kexec. The crash dump kernel must be compiled
638           to a memory address not used by the main kernel using
639           MEMORY_START.
640
641           For more details see Documentation/kdump/kdump.txt
642
643 config KEXEC_JUMP
644         bool "kexec jump (EXPERIMENTAL)"
645         depends on SUPERH32 && KEXEC && HIBERNATION && EXPERIMENTAL
646         help
647           Jump between original kernel and kexeced kernel and invoke
648           code via KEXEC
649
650 config SECCOMP
651         bool "Enable seccomp to safely compute untrusted bytecode"
652         depends on PROC_FS
653         help
654           This kernel feature is useful for number crunching applications
655           that may need to compute untrusted bytecode during their
656           execution. By using pipes or other transports made available to
657           the process as file descriptors supporting the read/write
658           syscalls, it's possible to isolate those applications in
659           their own address space using seccomp. Once seccomp is
660           enabled via prctl, it cannot be disabled and the task is only
661           allowed to execute a few safe syscalls defined by each seccomp
662           mode.
663
664           If unsure, say N.
665
666 config SMP
667         bool "Symmetric multi-processing support"
668         depends on SYS_SUPPORTS_SMP
669         select USE_GENERIC_SMP_HELPERS
670         ---help---
671           This enables support for systems with more than one CPU. If you have
672           a system with only one CPU, like most personal computers, say N. If
673           you have a system with more than one CPU, say Y.
674
675           If you say N here, the kernel will run on single and multiprocessor
676           machines, but will use only one CPU of a multiprocessor machine. If
677           you say Y here, the kernel will run on many, but not all,
678           singleprocessor machines. On a singleprocessor machine, the kernel
679           will run faster if you say N here.
680
681           People using multiprocessor machines who say Y here should also say
682           Y to "Enhanced Real Time Clock Support", below.
683
684           See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
685           available at <http://www.tldp.org/docs.html#howto>.
686
687           If you don't know what to do here, say N.
688
689 config NR_CPUS
690         int "Maximum number of CPUs (2-32)"
691         range 2 32
692         depends on SMP
693         default "4" if CPU_SUBTYPE_SHX3
694         default "2"
695         help
696           This allows you to specify the maximum number of CPUs which this
697           kernel will support.  The maximum supported value is 32 and the
698           minimum value which makes sense is 2.
699
700           This is purely to save memory - each supported CPU adds
701           approximately eight kilobytes to the kernel image.
702
703 config HOTPLUG_CPU
704         bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
705         depends on SMP && HOTPLUG && EXPERIMENTAL
706         help
707           Say Y here to experiment with turning CPUs off and on.  CPUs
708           can be controlled through /sys/devices/system/cpu.
709
710 source "kernel/Kconfig.preempt"
711
712 config GUSA
713         def_bool y
714         depends on !SMP && SUPERH32
715         help
716           This enables support for gUSA (general UserSpace Atomicity).
717           This is the default implementation for both UP and non-ll/sc
718           CPUs, and is used by the libc, amongst others.
719
720           For additional information, design information can be found 
721           in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
722
723           This should only be disabled for special cases where alternate
724           atomicity implementations exist.
725
726 config GUSA_RB
727         bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
728         depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
729         help
730           Enabling this option will allow the kernel to implement some
731           atomic operations using a software implementation of load-locked/
732           store-conditional (LLSC). On machines which do not have hardware
733           LLSC, this should be more efficient than the other alternative of
734           disabling interrupts around the atomic sequence.
735
736 config HW_PERF_EVENTS
737         bool "Enable hardware performance counter support for perf events"
738         depends on PERF_EVENTS && CPU_HAS_PMU
739         default y
740         help
741           Enable hardware performance counter support for perf events. If
742           disabled, perf events will use software events only.
743
744 source "drivers/sh/Kconfig"
745
746 endmenu
747
748 menu "Boot options"
749
750 config ZERO_PAGE_OFFSET
751         hex
752         default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \
753                                 SH_7751_SOLUTION_ENGINE
754         default "0x00004000" if PAGE_SIZE_16KB || SH_SH03
755         default "0x00002000" if PAGE_SIZE_8KB
756         default "0x00001000"
757         help
758           This sets the default offset of zero page.
759
760 config BOOT_LINK_OFFSET
761         hex
762         default "0x00210000" if SH_SHMIN
763         default "0x00400000" if SH_CAYMAN
764         default "0x00810000" if SH_7780_SOLUTION_ENGINE
765         default "0x009e0000" if SH_TITAN
766         default "0x01800000" if SH_SDK7780
767         default "0x02000000" if SH_EDOSK7760
768         default "0x00800000"
769         help
770           This option allows you to set the link address offset of the zImage.
771           This can be useful if you are on a board which has a small amount of
772           memory.
773
774 config ENTRY_OFFSET
775         hex
776         default "0x00001000" if PAGE_SIZE_4KB
777         default "0x00002000" if PAGE_SIZE_8KB
778         default "0x00004000" if PAGE_SIZE_16KB
779         default "0x00010000" if PAGE_SIZE_64KB
780         default "0x00000000"
781
782 config ROMIMAGE_MMCIF
783         bool "Include MMCIF loader in romImage (EXPERIMENTAL)"
784         depends on CPU_SUBTYPE_SH7724 && EXPERIMENTAL
785         help
786           Say Y here to include experimental MMCIF loading code in
787           romImage. With this enabled it is possible to write the romImage
788           kernel image to an MMC card and boot the kernel straight from
789           the reset vector. At reset the processor Mask ROM will load the
790           first part of the romImage which in turn loads the rest the kernel
791           image to RAM using the MMCIF hardware block.
792
793 choice
794         prompt "Kernel command line"
795         optional
796         default CMDLINE_OVERWRITE
797         help
798           Setting this option allows the kernel command line arguments
799           to be set.
800
801 config CMDLINE_OVERWRITE
802         bool "Overwrite bootloader kernel arguments"
803         help
804           Given string will overwrite any arguments passed in by
805           a bootloader.
806
807 config CMDLINE_EXTEND
808         bool "Extend bootloader kernel arguments"
809         help
810           Given string will be concatenated with arguments passed in
811           by a bootloader.
812
813 endchoice
814
815 config CMDLINE
816         string "Kernel command line arguments string"
817         depends on CMDLINE_OVERWRITE || CMDLINE_EXTEND
818         default "console=ttySC1,115200"
819
820 endmenu
821
822 menu "Bus options"
823
824 config SUPERHYWAY
825         tristate "SuperHyway Bus support"
826         depends on CPU_SUBTYPE_SH4_202
827
828 config MAPLE
829         bool "Maple Bus support"
830         depends on SH_DREAMCAST
831         help
832          The Maple Bus is SEGA's serial communication bus for peripherals
833          on the Dreamcast. Without this bus support you won't be able to
834          get your Dreamcast keyboard etc to work, so most users
835          probably want to say 'Y' here, unless you are only using the
836          Dreamcast with a serial line terminal or a remote network
837          connection.
838
839 config PCI
840         bool "PCI support"
841         depends on SYS_SUPPORTS_PCI
842         select PCI_DOMAINS
843         help
844           Find out whether you have a PCI motherboard. PCI is the name of a
845           bus system, i.e. the way the CPU talks to the other stuff inside
846           your box. If you have PCI, say Y, otherwise N.
847
848 config PCI_DOMAINS
849         bool
850
851 source "drivers/pci/pcie/Kconfig"
852
853 source "drivers/pci/Kconfig"
854
855 source "drivers/pcmcia/Kconfig"
856
857 source "drivers/pci/hotplug/Kconfig"
858
859 endmenu
860
861 menu "Executable file formats"
862
863 source "fs/Kconfig.binfmt"
864
865 endmenu
866
867 menu "Power management options (EXPERIMENTAL)"
868 depends on EXPERIMENTAL
869
870 source "kernel/power/Kconfig"
871
872 source "drivers/cpuidle/Kconfig"
873
874 endmenu
875
876 source "net/Kconfig"
877
878 source "drivers/Kconfig"
879
880 source "fs/Kconfig"
881
882 source "arch/sh/Kconfig.debug"
883
884 source "security/Kconfig"
885
886 source "crypto/Kconfig"
887
888 menuconfig VIRTUALIZATION
889         bool "Virtualization"
890         default n
891         ---help---
892           Say Y here to get to see options for using your Linux host to run other
893           operating systems inside virtual machines (guests).
894           This option alone does not add any kernel code.
895
896           If you say N, all options in this submenu will be skipped and disabled.
897
898 if VIRTUALIZATION
899
900 source drivers/virtio/Kconfig
901
902 endif # VIRTUALIZATION
903
904 source "lib/Kconfig"