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