浏览代码

x86: move FIX_EARLYCON_MEM kconfig into x86

In preparation to support FIX_EARLYCON_MEM on other arches, make the
option per arch.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Rob Herring 11 年之前
父节点
当前提交
d20642f0a3
共有 2 个文件被更改,包括 3 次插入5 次删除
  1. 3 0
      arch/x86/Kconfig
  2. 0 5
      drivers/tty/serial/8250/Kconfig

+ 3 - 0
arch/x86/Kconfig

@@ -261,6 +261,9 @@ config ARCH_HWEIGHT_CFLAGS
 config ARCH_SUPPORTS_UPROBES
 config ARCH_SUPPORTS_UPROBES
 	def_bool y
 	def_bool y
 
 
+config FIX_EARLYCON_MEM
+	def_bool y
+
 source "init/Kconfig"
 source "init/Kconfig"
 source "kernel/Kconfig.freezer"
 source "kernel/Kconfig.freezer"
 
 

+ 0 - 5
drivers/tty/serial/8250/Kconfig

@@ -90,11 +90,6 @@ config SERIAL_8250_CONSOLE
 
 
 	  If unsure, say N.
 	  If unsure, say N.
 
 
-config FIX_EARLYCON_MEM
-	bool
-	depends on X86
-	default y
-
 config SERIAL_8250_GSC
 config SERIAL_8250_GSC
 	tristate
 	tristate
 	depends on SERIAL_8250 && GSC
 	depends on SERIAL_8250 && GSC