MIPS: Move EARLY_PRINTK to Kconfig.debug
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
70ab711df4
commit
4dd92e15b3
2 changed files with 14 additions and 14 deletions
|
@ -837,20 +837,6 @@ config DMA_NONCOHERENT
|
||||||
config DMA_NEED_PCI_MAP_STATE
|
config DMA_NEED_PCI_MAP_STATE
|
||||||
bool
|
bool
|
||||||
|
|
||||||
config EARLY_PRINTK
|
|
||||||
bool "Early printk" if EMBEDDED && DEBUG_KERNEL
|
|
||||||
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 SYS_HAS_EARLY_PRINTK
|
config SYS_HAS_EARLY_PRINTK
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,20 @@ config TRACE_IRQFLAGS_SUPPORT
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
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
|
config CMDLINE
|
||||||
string "Default kernel command string"
|
string "Default kernel command string"
|
||||||
default ""
|
default ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue