From: Ralf Baechle Date: Thu, 17 Dec 2009 01:57:30 +0000 (+0000) Subject: MIPS: Move EARLY_PRINTK to Kconfig.debug X-Git-Tag: v2.6.33-rc1~6^2~12 X-Git-Url: https://bbs.cooldavid.org/git/?a=commitdiff_plain;h=4dd92e15b316d1a782772f16074571a70ceb9184;p=net-next-2.6.git MIPS: Move EARLY_PRINTK to Kconfig.debug Signed-off-by: Ralf Baechle --- 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 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 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 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 ""