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