mrst: Change early printk to depend on X86_INTEL_MID
authorDirk Brandewie <dirk.brandewie@gmail.com>
Fri, 15 Jul 2011 13:39:36 +0000 (14:39 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:36:36 +0000 (12:36 -0800)
Moorestown and Medfield have the same SPI controller IP block.  Make
early printk support depend on the common X86_INTEL_MID config option.

Change-Id: I21c4c06d5b371a498e8a0ebce14d483aabc8cf2d
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
arch/x86/Kconfig.debug
arch/x86/kernel/early_printk.c
arch/x86/platform/mrst/Makefile

index c0f8a5c..f601778 100644 (file)
@@ -43,9 +43,9 @@ config EARLY_PRINTK
          with klogd/syslogd or the X server. You should normally N here,
          unless you want to debug such a crash.
 
-config EARLY_PRINTK_MRST
-       bool "Early printk for MRST platform support"
-       depends on EARLY_PRINTK && X86_MRST
+config EARLY_PRINTK_INTEL_MID
+       bool "Early printk for Intel MID platform support"
+       depends on EARLY_PRINTK && X86_INTEL_MID
 
 config EARLY_PRINTK_DBGP
        bool "Early printk via EHCI debug port"
index cd28a35..7a53da0 100644 (file)
@@ -240,7 +240,7 @@ static int __init setup_early_printk(char *buf)
                if (!strncmp(buf, "xen", 3))
                        early_console_register(&xenboot_console, keep);
 #endif
-#ifdef CONFIG_EARLY_PRINTK_MRST
+#ifdef CONFIG_EARLY_PRINTK_INTEL_MID
                if (!strncmp(buf, "mrst", 4)) {
                        mrst_early_console_init();
                        early_console_register(&early_mrst_console, keep);
index 1ea3877..7baed51 100644 (file)
@@ -1,4 +1,4 @@
-obj-$(CONFIG_X86_MRST)         += mrst.o
-obj-$(CONFIG_X86_MRST)         += vrtc.o
-obj-$(CONFIG_EARLY_PRINTK_MRST)        += early_printk_mrst.o
+obj-$(CONFIG_X86_INTEL_MID)    += mrst.o
+obj-$(CONFIG_X86_INTEL_MID)    += vrtc.o
+obj-$(CONFIG_EARLY_PRINTK_INTEL_MID)   += early_printk_mrst.o
 obj-$(CONFIG_X86_MRST)         += pmu.o