aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-12-16 20:57:30 -0500
committerRalf Baechle <ralf@linux-mips.org>2009-12-16 20:57:30 -0500
commit4dd92e15b316d1a782772f16074571a70ceb9184 (patch)
tree9fd73ba4065472bc7bf9a1942456f6aa9e4d2a4a
parent70ab711df44ada438973ceba0213121afeb8e8b3 (diff)
MIPS: Move EARLY_PRINTK to Kconfig.debug
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/Kconfig14
-rw-r--r--arch/mips/Kconfig.debug14
2 files changed, 14 insertions, 14 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 2906ae59af4..0be245d28a1 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -837,20 +837,6 @@ config DMA_NONCOHERENT
837config DMA_NEED_PCI_MAP_STATE 837config DMA_NEED_PCI_MAP_STATE
838 bool 838 bool
839 839
840config EARLY_PRINTK
841 bool "Early printk" if EMBEDDED && DEBUG_KERNEL
842 depends on SYS_HAS_EARLY_PRINTK
843 default y
844 help
845 This option enables special console drivers which allow the kernel
846 to print messages very early in the bootup process.
847
848 This is useful for kernel debugging when your machine crashes very
849 early before the console code is initialized. For normal operation,
850 it is not recommended because it looks ugly on some machines and
851 doesn't cooperate with an X server. You should normally say N here,
852 unless you want to debug such a crash.
853
854config SYS_HAS_EARLY_PRINTK 840config SYS_HAS_EARLY_PRINTK
855 bool 841 bool
856 842
diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug
index 364ca893880..23817bc7a26 100644
--- a/arch/mips/Kconfig.debug
+++ b/arch/mips/Kconfig.debug
@@ -6,6 +6,20 @@ config TRACE_IRQFLAGS_SUPPORT
6 6
7source "lib/Kconfig.debug" 7source "lib/Kconfig.debug"
8 8
9config 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
9config CMDLINE 23config CMDLINE
10 string "Default kernel command string" 24 string "Default kernel command string"
11 default "" 25 default ""