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