MIPS: Move EARLY_PRINTK to Kconfig.debug
[safe/jmp/linux-2.6] / arch / mips / Kconfig.debug
1 menu "Kernel hacking"
2
3 config TRACE_IRQFLAGS_SUPPORT
4         bool
5         default y
6
7 source "lib/Kconfig.debug"
8
9 config EARLY_PRINTK
10         bool "Early printk" if EMBEDDED
11         depends on SYS_HAS_EARLY_PRINTK
12         default y
13         help
14           This option enables special console drivers which allow the kernel
15           to print messages very early in the bootup process.
16
17           This is useful for kernel debugging when your machine crashes very
18           early before the console code is initialized. For normal operation,
19           it is not recommended because it looks ugly on some machines and
20           doesn't cooperate with an X server. You should normally say N here,
21           unless you want to debug such a crash.
22
23 config CMDLINE
24         string "Default kernel command string"
25         default ""
26         help
27           On some platforms, there is currently no way for the boot loader to
28           pass arguments to the kernel. For these platforms, you can supply
29           some command-line options at build time by entering them here.  In
30           other cases you can specify kernel args so that you don't have
31           to set them up in board prom initialization routines.
32
33 config DEBUG_STACK_USAGE
34         bool "Enable stack utilization instrumentation"
35         depends on DEBUG_KERNEL
36         help
37           Enables the display of the minimum amount of free stack which each
38           task has ever had available in the sysrq-T and sysrq-P debug output.
39
40           This option will slow down process creation somewhat.
41
42 config SMTC_IDLE_HOOK_DEBUG
43         bool "Enable additional debug checks before going into CPU idle loop"
44         depends on DEBUG_KERNEL && MIPS_MT_SMTC
45         help
46           This option enables Enable additional debug checks before going into
47           CPU idle loop.  For details on these checks, see
48           arch/mips/kernel/smtc.c.  This debugging option result in significant
49           overhead so should be disabled in production kernels.
50
51 config SB1XXX_CORELIS
52         bool "Corelis Debugger"
53         depends on SIBYTE_SB1xxx_SOC
54         select DEBUG_INFO
55         help
56           Select compile flags that produce code that can be processed by the
57           Corelis mksym utility and UDB Emulator.
58
59 config RUNTIME_DEBUG
60         bool "Enable run-time debugging"
61         depends on DEBUG_KERNEL
62         help
63           If you say Y here, some debugging macros will do run-time checking.
64           If you say N here, those macros will mostly turn to no-ops.  See
65           arch/mips/include/asm/debug.h for debugging macros.
66           If unsure, say N.
67
68 endmenu