From: Wu Zhangjin <wuzhangjin@xxxxxxxxx> In the old version, if the platform select SYS_HAS_EARLY_PRINTK and users not select DEBUG_KERNEL, there is no interface for user to enable or disable the EARLY_PRINTK option, it will be enabled all the time. this will waste a little bit of memory and slow down the booting of kernel but the users never know it. This patch will only enable that option when the DEBUG_KERNEL is enabled. Signed-off-by: Wu Zhangjin <wuzhangjin@xxxxxxxxx> --- arch/mips/Kconfig | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index b342197..d2446d5 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -824,8 +824,8 @@ config DMA_NEED_PCI_MAP_STATE bool config EARLY_PRINTK - bool "Early printk" if EMBEDDED && DEBUG_KERNEL - depends on SYS_HAS_EARLY_PRINTK + bool "Early printk" if EMBEDDED + depends on SYS_HAS_EARLY_PRINTK && DEBUG_KERNEL default y help This option enables special console drivers which allow the kernel -- 1.6.2.1