Skip to content

Commit

Permalink
MIPS: Move EARLY_PRINTK to Kconfig.debug
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Dec 17, 2009
1 parent 70ab711 commit 4dd92e1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 0 additions & 14 deletions arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -837,20 +837,6 @@ config DMA_NONCOHERENT
config DMA_NEED_PCI_MAP_STATE
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
bool

Expand Down
14 changes: 14 additions & 0 deletions arch/mips/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down

0 comments on commit 4dd92e1

Please sign in to comment.