summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig.debug
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-12-17 02:57:30 +0100
committerRalf Baechle <ralf@linux-mips.org>2009-12-17 02:57:30 +0100
commit4dd92e15b316d1a782772f16074571a70ceb9184 (patch)
tree9fd73ba4065472bc7bf9a1942456f6aa9e4d2a4a /arch/mips/Kconfig.debug
parentMIPS: Yeeloong 2F: Cleanup reset logic using the new ec_write function (diff)
downloadlinux-4dd92e15b316d1a782772f16074571a70ceb9184.tar.xz
linux-4dd92e15b316d1a782772f16074571a70ceb9184.zip
MIPS: Move EARLY_PRINTK to Kconfig.debug
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig.debug')
-rw-r--r--arch/mips/Kconfig.debug14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug
index 364ca8938807..23817bc7a26a 100644
--- a/arch/mips/Kconfig.debug
+++ b/arch/mips/Kconfig.debug
@@ -6,6 +6,20 @@ config TRACE_IRQFLAGS_SUPPORT
source "lib/Kconfig.debug"
+config EARLY_PRINTK
+ bool "Early printk" if EMBEDDED
+ depends on SYS_HAS_EARLY_PRINTK
+ default y
+ help
+ This option enables special console drivers which allow the kernel
+ to print messages very early in the bootup process.
+
+ This is useful for kernel debugging when your machine crashes very
+ early before the console code is initialized. For normal operation,
+ it is not recommended because it looks ugly on some machines and
+ doesn't cooperate with an X server. You should normally say N here,
+ unless you want to debug such a crash.
+
config CMDLINE
string "Default kernel command string"
default ""