[PATCH] MIPS: Make EARLY_PRINTK selectable for !EMBEDDED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Wu Zhangjin <wuzhangjin@xxxxxxxxx>

When EMBEDDED is disabled, the EARLY_PRINTK option will be hiden and we
have no way to disable it.

For EARLY_PRINTK is not necessary for !EMBEDDED, we should make it
selectable and only enable it by default for EMBEDDED.

Signed-off-by: Wu Zhangjin <wuzhangjin@xxxxxxxxx>
---
 arch/mips/Kconfig.debug |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug
index 43dc279..77eba81 100644
--- a/arch/mips/Kconfig.debug
+++ b/arch/mips/Kconfig.debug
@@ -7,9 +7,9 @@ config TRACE_IRQFLAGS_SUPPORT
 source "lib/Kconfig.debug"
 
 config EARLY_PRINTK
-	bool "Early printk" if EMBEDDED
+	bool "Early printk"
 	depends on SYS_HAS_EARLY_PRINTK
-	default y
+	default y if EMBEDDED
 	help
 	  This option enables special console drivers which allow the kernel
 	  to print messages very early in the bootup process.
-- 
1.7.1




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux