Skip to contentSkip to conversation

x86/Kconfig.debug: hide X86_VERBOSE_BOOTUP if EARLY_PRINTK is not set

PATCH New Alexander Kuleshov 1 participant 1 message Jun 16, 2015 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/Kconfig.debug: hide X86_VERBOSE_BOOTUP if EARLY_PRINTK is not set

The X86_VERBOSE_BOOTUP enables informational output from the decompression stage with the earlyprintk. If CONFIG_EARLY_PRINTK is not set, there are no reasons to make CONFIG_X86_VERBOSE_BOOTUP possible for the configuration.

---
 arch/x86/Kconfig.debug | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
arch/x86/Kconfig.debug +9 -8
index 72484a6..53d096b 100644
@@ -22,14 +22,6 @@ config STRICT_DEVMEM
 
 	  If in doubt, say Y.
 
-config X86_VERBOSE_BOOTUP
-	bool "Enable verbose x86 bootup info messages"
-	default y
-	---help---
-	  Enables the informational output from the decompression stage
-	  (e.g. bzImage) of the boot. If you disable this you will still
-	  see errors. Disable this if you want silent bootup.
-
 config EARLY_PRINTK
 	bool "Early printk" if EXPERT
 	default y
@@ -65,6 +57,15 @@ config EARLY_PRINTK_EFI
 	  This is useful for kernel debugging when your machine crashes very
 	  early before the console code is initialized.
 
+config X86_VERBOSE_BOOTUP
+	bool "Enable verbose x86 bootup info messages"
+	depends on EARLY_PRINTK
+	default y
+	---help---
+	  Enables the informational output from the decompression stage
+	  (e.g. bzImage) of the boot. If you disable this you will still
+	  see errors. Disable this if you want silent bootup.
+
 config X86_PTDUMP
 	bool "Export kernel pagetable layout to userspace via debugfs"
 	depends on DEBUG_KERNEL
Signature · 1 line
2.4.0.596.ga5fe668