8efb8e02aaf7214a963c7a82cd7b8eb211a4b413
[linux-2.6.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         bool
10         default y
11         help
12           The SuperH is a RISC processor targeted for use in embedded systems
13           and consumer electronics; it was also used in the Sega Dreamcast
14           gaming console.  The SuperH port has a home page at
15           <http://www.linux-sh.org/>.
16
17 config UID16
18         bool
19         default y
20
21 config RWSEM_GENERIC_SPINLOCK
22         bool
23         default y
24
25 config RWSEM_XCHGADD_ALGORITHM
26         bool
27
28 source "init/Kconfig"
29
30 menu "System type"
31
32 choice
33         prompt "SuperH system type"
34         default SH_UNKNOWN
35
36 config SH_SOLUTION_ENGINE
37         bool "SolutionEngine"
38         help
39           Select SolutionEngine if configuring for a Hitachi SH7709
40           or SH7750 evalutation board.
41
42 config SH_7751_SOLUTION_ENGINE
43         bool "SolutionEngine7751"
44         help
45           Select 7751 SolutionEngine if configuring for a Hitachi SH7751
46           evalutation board.
47
48 config SH_7751_SYSTEMH
49         bool "SystemH7751R"
50         help
51           Select SystemH if you are configuring for a Renesas SystemH
52           7751R evaluation board.
53
54 config SH_STB1_HARP
55         bool "STB1_Harp"
56
57 config SH_STB1_OVERDRIVE
58         bool "STB1_Overdrive"
59
60 config SH_HP620
61         bool "HP620"
62         help
63           Select HP620 if configuring for a HP jornada HP620.
64           More information (hardware only) at
65           <http://www.hp.com/jornada/>.
66
67 config SH_HP680
68         bool "HP680"
69         help
70           Select HP680 if configuring for a HP Jornada HP680.
71           More information (hardware only) at
72           <http://www.hp.com/jornada/products/680/>.
73
74 config SH_HP690
75         bool "HP690"
76         help
77           Select HP690 if configuring for a HP Jornada HP690.
78           More information (hardware only)
79           at <http://www.hp.com/jornada/products/680/>.
80
81 config SH_CQREEK
82         bool "CqREEK"
83         help
84           Select CqREEK if configuring for a CqREEK SH7708 or SH7750.
85           More information at
86           <http://sources.redhat.com/ecos/hardware.html#SuperH>.
87
88 config SH_DMIDA
89         bool "DMIDA"
90         help
91           Select DMIDA if configuring for a DataMyte 4000 Industrial
92           Digital Assistant. More information at <http://www.dmida.com/>.
93
94 config SH_EC3104
95         bool "EC3104"
96         help
97           Select EC3104 if configuring for a system with an Eclipse
98           International EC3104 chip, e.g. the Harris AD2000.
99
100 config SH_SATURN
101         bool "Saturn"
102         help
103           Select Saturn if configuring for a SEGA Saturn.
104
105 config SH_DREAMCAST
106         bool "Dreamcast"
107         help
108           Select Dreamcast if configuring for a SEGA Dreamcast.
109           More information at
110           <http://www.m17n.org/linux-sh/dreamcast/>.  There is a
111           Dreamcast project is at <http://linuxdc.sourceforge.net/>.
112
113 config SH_CAT68701
114         bool "CAT68701"
115
116 config SH_BIGSUR
117         bool "BigSur"
118
119 config SH_SH2000
120         bool "SH2000"
121         help
122           SH-2000 is a single-board computer based around SH7709A chip
123           intended for embedded applications.
124           It has an Ethernet interface (CS8900A), direct connected
125           Compact Flash socket, three serial ports and PC-104 bus.
126           More information at <http://sh2000.sh-linux.org>.
127
128 config SH_ADX
129         bool "ADX"
130
131 config SH_MPC1211
132         bool "MPC1211"
133
134 config SH_SECUREEDGE5410
135         bool "SecureEdge5410"
136         help
137           Select SecureEdge5410 if configuring for a SnapGear SH board.
138           This includes both the OEM SecureEdge products as well as the
139           SME product line.
140
141 config SH_UNKNOWN
142         bool "BareCPU"
143         help
144           "Bare CPU" aka "unknown" means an SH-based system which is not one
145           of the specific ones mentioned above, which means you need to enter
146           all sorts of stuff like CONFIG_MEMORY_START because the config
147           system doesn't already know what it is.  You get a machine vector
148           without any platform-specific code in it, so things like the RTC may
149           not work.
150
151           This option is for the early stages of porting to a new machine.
152
153 endchoice
154
155 choice
156         prompt "Processor family"
157         default CPU_SH4
158         help
159           This option determines the CPU family to compile for. Supported
160           targets are SH-2, SH-3, and SH-4. These options are independent of
161           CPU functionality. As such, SH-DSP users will still want to select
162           their respective processor family in addition to the DSP support
163           option.
164
165 config CPU_SH2
166         bool "SH-2"
167         select SH_WRITETHROUGH
168
169 config CPU_SH3
170         bool "SH-3"
171
172 config CPU_SH4
173         bool "SH-4"
174
175 endchoice
176
177 choice
178         prompt "Processor subtype"
179         
180 config CPU_SUBTYPE_SH7604
181         bool "SH7604"
182         depends on CPU_SH2
183         help
184           Select SH7604 if you have SH7604
185
186 config CPU_SUBTYPE_SH7300
187         bool "SH7300"
188         depends on CPU_SH3
189           
190 config CPU_SUBTYPE_SH7707
191         bool "SH7707"
192         depends on CPU_SH3
193         help
194           Select SH7707 if you have a  60 Mhz SH-3 HD6417707 CPU.
195
196 config CPU_SUBTYPE_SH7708
197         bool "SH7708"
198         depends on CPU_SH3
199         help
200           Select SH7708 if you have a  60 Mhz SH-3 HD6417708S or
201           if you have a 100 Mhz SH-3 HD6417708R CPU.
202
203 config CPU_SUBTYPE_SH7709
204         bool "SH7709"
205         depends on CPU_SH3
206         help
207           Select SH7709 if you have a  80 Mhz SH-3 HD6417709 CPU.
208
209 config CPU_SUBTYPE_SH7750
210         bool "SH7750"
211         depends on CPU_SH4
212         help
213           Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
214
215 config CPU_SUBTYPE_SH7751
216         bool "SH7751/SH7751R"
217         depends on CPU_SH4
218         help
219           Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
220           or if you have a HD6417751R CPU.
221
222 config CPU_SUBTYPE_SH7760
223         bool "SH7760"
224         depends on CPU_SH4
225
226 config CPU_SUBTYPE_ST40STB1
227         bool "ST40STB1"
228         depends on CPU_SH4
229         help
230           Select ST40STB1 if you have a ST40STB1 CPU.
231
232 endchoice
233
234 config MMU
235         bool "Support for memory management hardware"
236         depends on !CPU_SH2
237         default y
238         help
239           Early SH processors (such as the SH7604) lack an MMU. In order to
240           boot on these systems, this option must not be set.
241
242           On other systems (such as the SH-3 and 4) where an MMU exists,
243           turning this off will boot the kernel on these machines with the
244           MMU implicitly switched off.
245
246 choice
247         prompt "HugeTLB page size"
248         depends on HUGETLB_PAGE && CPU_SH4 && MMU
249         default HUGETLB_PAGE_SIZE_64K
250
251 config HUGETLB_PAGE_SIZE_64K
252         bool "64K"
253
254 config HUGETLB_PAGE_SIZE_1MB
255         bool "1MB"
256
257 endchoice
258
259 config CMDLINE_BOOL
260         bool "Default bootloader kernel arguments"
261
262 config CMDLINE
263         string "Initial kernel command string"
264         depends on CMDLINE_BOOL
265         default "console=ttySC1,115200"
266
267 # Platform-specific memory start and size definitions
268 config MEMORY_START
269         hex "Physical memory start address" if !MEMORY_SET || MEMORY_OVERRIDE
270         default "0x08000000" if !MEMORY_SET || MEMORY_OVERRIDE || !MEMORY_OVERRIDE && SH_ADX || SH_MPC1211 || SH_SECUREEDGE5410
271         default "0x0c000000" if !MEMORY_OVERRIDE && (SH_DREAMCAST || SH_HP600 || SH_BIGSUR || SH_SH2000 || SH_7751_SOLUTION_ENGINE || SH_SOLUTION_ENGINE)
272         ---help---
273           Computers built with Hitachi SuperH processors always
274           map the ROM starting at address zero.  But the processor
275           does not specify the range that RAM takes.  
276
277           The physical memory (RAM) start address will be automatically
278           set to 08000000, unless you selected one of the following
279           processor types: SolutionEngine, Overdrive, HP620, HP680, HP690,
280           in which case the start address will be set to 0c000000.
281
282           Tweak this only when porting to a new machine which is not already
283           known by the config system.  Changing it from the known correct
284           value on any of the known systems will only lead to disaster.
285
286 config MEMORY_SIZE
287         hex "Physical memory size" if !MEMORY_SET || MEMORY_OVERRIDE
288         default "0x00400000" if !MEMORY_SET || MEMORY_OVERRIDE || !MEMORY_OVERRIDE && SH_ADX || !MEMORY_OVERRIDE && (SH_HP600 || SH_BIGSUR || SH_SH2000)
289         default "0x01000000" if !MEMORY_OVERRIDE && SH_DREAMCAST || SH_SECUREEDGE5410
290         default "0x04000000" if !MEMORY_OVERRIDE && SH_7751_SOLUTION_ENGINE
291         default "0x02000000" if !MEMORY_OVERRIDE && SH_SOLUTION_ENGINE
292         default "0x08000000" if SH_MPC1211
293         help
294           This sets the default memory size assumed by your SH kernel. It can
295           be overridden as normal by the 'mem=' argument on the kernel command
296           line. If unsure, consult your board specifications or just leave it
297           as 0x00400000 which was the default value before this became
298           configurable.
299
300 config MEMORY_SET
301         bool
302         depends on !MEMORY_OVERRIDE && (SH_MPC1211 || SH_ADX || SH_DREAMCAST || SH_HP600 || SH_BIGSUR || SH_SH2000 || SH_7751_SOLUTION_ENGINE || SH_SOLUTION_ENGINE || SH_SECUREEDGE5410)
303         default y
304         help
305           This is an option about which you will never be asked a question.
306           Therefore, I conclude that you do not exist - go away.
307
308           There is a grue here.
309
310 # If none of the above have set memory start/size, ask the user.
311 config MEMORY_OVERRIDE
312         bool "Override default load address and memory size"
313         
314 # XXX: break these out into the board-specific configs below
315 config CF_ENABLER
316         bool "Compact Flash Enabler support"
317         depends on SH_ADX || SH_SOLUTION_ENGINE || SH_UNKNOWN || SH_CAT68701
318         ---help---
319           Compact Flash is a small, removable mass storage device introduced
320           in 1994 originally as a PCMCIA device.  If you say `Y' here, you
321           compile in support for Compact Flash devices directly connected to
322           a SuperH processor.  A Compact Flash FAQ is available at
323           <http://www.compactflash.org/faqs/faq.htm>.
324
325           If your board has "Directly Connected" CompactFlash at area 5 or 6,
326           you may want to enable this option.  Then, you can use CF as
327           primary IDE drive (only tested for SanDisk).
328
329           If in doubt, select 'N'.
330
331 choice
332         prompt "Compact Flash Connection Area"
333         depends on CF_ENABLER
334         default CF_AREA6
335
336 config CF_AREA5
337         bool "Area5"
338         help
339           If your board has "Directly Connected" CompactFlash, You should
340           select the area where your CF is connected to.
341
342           - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
343           - "Area6" if it is connected to Area 6 (0x18000000)
344
345           "Area6" will work for most boards. For ADX, select "Area5".
346
347 config CF_AREA6
348         bool "Area6"
349
350 endchoice
351
352 config CF_BASE_ADDR
353         hex
354         depends on CF_ENABLER
355         default "0xb8000000" if CF_AREA6
356         default "0xb4000000" if CF_AREA5
357
358 # The SH7750 RTC module is disabled in the Dreamcast
359 config SH_RTC
360         bool
361         depends on !SH_DREAMCAST && !SH_SATURN
362         default y
363         help
364           Selecting this option will allow the Linux kernel to emulate
365           PC's RTC.
366
367           If unsure, say N.
368
369 config SH_DSP
370         bool "DSP support"
371         depends on !CPU_SH4
372         default y
373         help
374           Selecting this option will enable support for SH processors that
375           have DSP units (ie, SH2-DSP and SH3-DSP). It is safe to say Y here
376           by default, as the existance of the DSP will be probed at runtime.
377
378           This option must be set in order to enable the DSP.
379
380 config SH_HP600
381         bool
382         depends on SH_HP620 || SH_HP680 || SH_HP690
383         default y
384
385 config DISCONTIGMEM
386         bool
387         depends on SH_HP690
388         default y
389         help
390           Say Y to upport efficient handling of discontiguous physical memory,
391           for architectures which are either NUMA (Non-Uniform Memory Access)
392           or have huge holes in the physical address space for other reasons.
393           See <file:Documentation/vm/numa> for more.
394
395 config ZERO_PAGE_OFFSET
396         hex "Zero page offset"
397         default "0x00001000" if !SH_MPC1211
398         default "0x00004000" if SH_MPC1211
399         help
400           This sets the default offset of zero page.
401
402 # XXX: needs to lose subtype for system type
403 config ST40_LMI_MEMORY
404         bool "Memory on LMI"
405         depends on CPU_SUBTYPE_ST40STB1
406
407 config MEMORY_START
408         hex
409         depends on CPU_SUBTYPE_ST40STB1 && ST40_LMI_MEMORY
410         default "0x08000000"
411
412 config MEMORY_SIZE
413         hex
414         depends on CPU_SUBTYPE_ST40STB1 && ST40_LMI_MEMORY
415         default "0x00400000"
416
417 config MEMORY_SET
418         bool
419         depends on CPU_SUBTYPE_ST40STB1 && ST40_LMI_MEMORY
420         default y
421
422 config BOOT_LINK_OFFSET
423         hex "Link address offset for booting"
424         default "0x00800000"
425         help
426           This option allows you to set the link address offset of the zImage.
427           This can be useful if you are on a board which has a small amount of
428           memory.
429
430 config CPU_LITTLE_ENDIAN
431         bool "Little Endian"
432         help
433           Some SuperH machines can be configured for either little or big
434           endian byte order. These modes require different kernels. Say Y if
435           your machine is little endian, N if it's a big endian machine.
436
437 config PREEMPT
438         bool "Preemptible Kernel (EXPERIMENTAL)"
439         depends on EXPERIMENTAL
440
441 config UBC_WAKEUP
442         bool "Wakeup UBC on startup"
443         help
444           Selecting this option will wakeup the User Break Controller (UBC) on
445           startup. Although the UBC is left in an awake state when the processor
446           comes up, some boot loaders misbehave by putting the UBC to sleep in a
447           power saving state, which causes issues with things like ptrace().
448
449           If unsure, say N.
450
451 config SH_WRITETHROUGH
452         bool "Use write-through caching"
453         default y if CPU_SH2
454         help
455           Selecting this option will configure the caches in write-through
456           mode, as opposed to the default write-back configuration.
457
458           Since there's sill some aliasing issues on SH-4, this option will
459           unfortunately still require the majority of flushing functions to
460           be implemented to deal with aliasing.
461
462           If unsure, say N.
463
464 config SH_OCRAM
465         bool "Operand Cache RAM (OCRAM) support"
466         help
467           Selecting this option will automatically tear down the number of
468           sets in the dcache by half, which in turn exposes a memory range.
469
470           The addresses for the OC RAM base will vary according to the
471           processor version. Consult vendor documentation for specifics.
472
473           If unsure, say N.
474
475 config SH_STORE_QUEUES
476         bool "Support for Store Queues"
477         depends on CPU_SH4
478         help
479           Selecting this option will enable an in-kernel API for manipulating
480           the store queues integrated in the SH-4 processors.
481         
482 config SMP
483         bool "Symmetric multi-processing support"
484         ---help---
485           This enables support for systems with more than one CPU. If you have
486           a system with only one CPU, like most personal computers, say N. If
487           you have a system with more than one CPU, say Y.
488
489           If you say N here, the kernel will run on single and multiprocessor
490           machines, but will use only one CPU of a multiprocessor machine. If
491           you say Y here, the kernel will run on many, but not all,
492           singleprocessor machines. On a singleprocessor machine, the kernel
493           will run faster if you say N here.
494
495           People using multiprocessor machines who say Y here should also say
496           Y to "Enhanced Real Time Clock Support", below.
497
498           See also the <file:Documentation/smp.txt>,
499           <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
500           at <http://www.tldp.org/docs.html#howto>.
501
502           If you don't know what to do here, say N.
503
504 config NR_CPUS
505         int "Maximum number of CPUs (2-32)"
506         range 2 32
507         depends on SMP
508         default "2"
509         help
510           This allows you to specify the maximum number of CPUs which this
511           kernel will support.  The maximum supported value is 32 and the
512           minimum value which makes sense is 2.
513
514           This is purely to save memory - each supported CPU adds
515           approximately eight kilobytes to the kernel image.
516
517 config SH_PCLK_FREQ
518         int "Peripheral clock frequency (in Hz)"
519         default "49876504" if CPU_SUBTYPE_SH7750
520         default "60013568" if CPU_SUBTYPE_SH7751
521         default "1193182"
522         help
523           This option is used to specify the peripheral clock frequency. This
524           option must be set for each processor in order for the kernel to
525           function reliably. If no sane default exists, we use a default from
526           the legacy i8254. Any discrepancies will be reported on boot time
527           with an auto-probed frequency which should be considered the proper
528           value for your hardware.
529
530 menu "CPU Frequency scaling"
531
532 config CPU_FREQ
533         bool "CPU Frequency scaling"
534         help
535           CPU clock scaling allows you to change the clock speed of the
536           running CPU on the fly.
537
538           For details, take a look at <file:Documentation/cpu-freq>.
539
540           If unsure, say N.
541
542 source "drivers/cpufreq/Kconfig"
543
544 config CPU_FREQ_TABLE
545         tristate "CPU frequency table helpers"
546         depends on CPU_FREQ
547         default y
548         help
549           Many cpufreq drivers use these helpers, so only say N here if
550           the cpufreq driver of your choice doesn't need these helpers.
551
552           If unsure, say Y.
553
554 config SH_CPU_FREQ
555         tristate "SuperH CPU Frequency driver"
556         depends on CPU_FREQ
557         help
558           This adds the cpufreq driver for SuperH. At present, only
559           the SH-4 is supported.
560
561           For details, take a look at <file:Documentation/cpu-freq>.
562
563           If unsure, say N.
564
565 endmenu
566
567 source "arch/sh/drivers/dma/Kconfig"
568
569 source "arch/sh/cchips/Kconfig"
570
571 config HEARTBEAT
572         bool "Heartbeat LED"
573         depends on SH_MPC1211 || SH_CAT68701 || SH_STB1_HARP || SH_STB1_OVERDRIVE || SH_BIGSUR || SH_7751_SOLUTION_ENGINE || SH_SOLUTION_ENGINE
574         help
575           Use the power-on LED on your machine as a load meter.  The exact
576           behavior is platform-dependent, but normally the flash frequency is
577           a hyperbolic function of the 5-minute load average.
578
579 endmenu
580
581
582 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
583
584 # Even on SuperH devices which don't have an ISA bus,
585 # this variable helps the PCMCIA modules handle
586 # IRQ requesting properly -- Greg Banks.
587 #
588 # Though we're generally not interested in it when
589 # we're not using PCMCIA, so we make it dependent on
590 # PCMCIA outright. -- PFM.
591 config ISA
592         bool
593         default y if PCMCIA
594         help
595           Find out whether you have ISA slots on your motherboard.  ISA is the
596           name of a bus system, i.e. the way the CPU talks to the other stuff
597           inside your box.  Other bus systems are PCI, EISA, MicroChannel
598           (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
599           newer boards don't support it.  If you have ISA, say Y, otherwise N.
600
601 config EISA
602         bool
603         ---help---
604           The Extended Industry Standard Architecture (EISA) bus was
605           developed as an open alternative to the IBM MicroChannel bus.
606
607           The EISA bus provided some of the features of the IBM MicroChannel
608           bus while maintaining backward compatibility with cards made for
609           the older ISA bus.  The EISA bus saw limited use between 1988 and
610           1995 when it was made obsolete by the PCI bus.
611
612           Say Y here if you are building a kernel for an EISA-based machine.
613
614           Otherwise, say N.
615
616 config MCA
617         bool
618         help
619           MicroChannel Architecture is found in some IBM PS/2 machines and
620           laptops.  It is a bus system similar to PCI or ISA. See
621           <file:Documentation/mca.txt> (and especially the web page given
622           there) before attempting to build an MCA bus kernel.
623
624 config SBUS
625         bool
626
627 config MAPLE
628         tristate "Maple Bus support"
629         depends on SH_DREAMCAST
630         default y
631
632 source "arch/sh/drivers/pci/Kconfig"
633
634 source "drivers/pci/Kconfig"
635
636 source "drivers/pcmcia/Kconfig"
637
638 source "drivers/pci/hotplug/Kconfig"
639
640 endmenu
641
642
643 menu "Executable file formats"
644
645 source "fs/Kconfig.binfmt"
646
647 endmenu
648
649 source "drivers/Kconfig"
650
651 source "fs/Kconfig"
652
653 source "arch/sh/oprofile/Kconfig"
654
655 menu "Kernel hacking"
656
657 config MAGIC_SYSRQ
658         bool "Magic SysRq key"
659         help
660           If you say Y here, you will have some control over the system even
661           if the system crashes for example during kernel debugging (e.g., you
662           will be able to flush the buffer cache to disk, reboot the system
663           immediately or dump some status information). This is accomplished
664           by pressing various keys while holding SysRq (Alt+PrintScreen). It
665           also works on a serial console (on PC hardware at least), if you
666           send a BREAK and then within 5 seconds a command keypress. The
667           keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
668           unless you really know what this hack does.
669
670 config DEBUG_SPINLOCK
671         bool "Spinlock debugging"
672         help
673           Say Y here and build SMP to catch missing spinlock initialization
674           and certain other kinds of spinlock errors commonly made.  This is
675           best used in conjunction with the NMI watchdog so that spinlock
676           deadlocks are also debuggable.
677
678 config SH_STANDARD_BIOS
679         bool "Use LinuxSH standard BIOS"
680         help
681           Say Y here if your target has the gdb-sh-stub
682           package from www.m17n.org (or any conforming standard LinuxSH BIOS)
683           in FLASH or EPROM.  The kernel will use standard BIOS calls during
684           boot for various housekeeping tasks (including calls to read and
685           write characters to a system console, get a MAC address from an
686           on-board Ethernet interface, and shut down the hardware).  Note this
687           does not work with machines with an existing operating system in
688           mask ROM and no flash (WindowsCE machines fall in this category).
689           If unsure, say N.
690
691 config SH_EARLY_PRINTK
692         bool "Early printk support"
693         depends on SH_STANDARD_BIOS
694         help
695           Say Y here to redirect kernel printk messages to the serial port
696           used by the SH-IPL bootloader, starting very early in the boot
697           process and ending when the kernel's serial console is initialised.
698           This option is only useful porting the kernel to a new machine,
699           when the kernel may crash or hang before the serial console is
700           initialised. If unsure, say N.
701
702 config KGDB
703         bool "Include KGDB kernel debugger"
704         help
705           Include in-kernel hooks for kgdb, the Linux kernel source level
706           debugger.  See <http://kgdb.sourceforge.net/> for more information.
707           Unless you are intending to debug the kernel, say N here.
708
709 menu "KGDB configuration options"
710         depends on KGDB
711
712 config MORE_COMPILE_OPTIONS
713         bool "Add any additional compile options"
714         help
715           If you want to add additional CFLAGS to the kernel build, enable this
716           option and then enter what you would like to add in the next question.
717           Note however that -g is already appended with the selection of KGDB.
718
719 config COMPILE_OPTIONS
720         string "Additional compile arguments"
721         depends on MORE_COMPILE_OPTIONS
722
723 config KGDB_NMI
724         bool "Enter KGDB on NMI"
725         default n
726
727 config KGDB_THREAD
728         bool "Include KGDB thread support"
729         default y
730
731 config SH_KGDB_CONSOLE
732         bool "Console messages through GDB"
733         default n
734
735 config KGDB_SYSRQ
736         bool "Allow SysRq 'G' to enter KGDB"
737         default y
738
739 config KGDB_KERNEL_ASSERTS
740         bool "Include KGDB kernel assertions"
741         default n
742
743 comment "Serial port setup"
744
745 config KGDB_DEFPORT
746         int "Port number (ttySCn)"
747         default "1"
748
749 config KGDB_DEFBAUD
750         int "Baud rate"
751         default "115200"
752
753 choice
754         prompt "Parity"
755         depends on KGDB
756         default KGDB_DEFPARITY_N
757
758 config KGDB_DEFPARITY_N
759         bool "None"
760
761 config KGDB_DEFPARITY_E
762         bool "Even"
763
764 config KGDB_DEFPARITY_O
765         bool "Odd"
766
767 endchoice
768
769 choice
770         prompt "Data bits"
771         depends on KGDB
772         default KGDB_DEFBITS_8
773
774 config KGDB_DEFBITS_8
775         bool "8"
776
777 config KGDB_DEFBITS_7
778         bool "7"
779
780 endchoice
781
782 endmenu
783
784 config FRAME_POINTER
785         bool "Compile the kernel with frame pointers"
786         default y if KGDB
787         help
788           If you say Y here the resulting kernel image will be slightly larger
789           and slower, but it will give very useful debugging information.
790           If you don't debug the kernel, you can say N, but we may not be able
791           to solve problems without frame pointers.
792
793 endmenu
794
795 source "security/Kconfig"
796
797 source "crypto/Kconfig"
798
799 source "lib/Kconfig"
800