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