]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
x86, earlyprintk: Move mrst early console to platform/ and fix a typo
authorFeng Tang <feng.tang@intel.com>
Fri, 3 Dec 2010 03:51:37 +0000 (11:51 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2010 19:52:04 +0000 (20:52 +0100)
Move the code to arch/x86/platform/mrst/. Also fix a typo to use
the correct config option: ONFIG_EARLY_PRINTK_MRST

Signed-off-by: Feng Tang <feng.tang@intel.com>
Cc: alan@linux.intel.com
LKML-Reference: <1291348298-21263-1-git-send-email-feng.tang@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/Makefile
arch/x86/kernel/early_printk.c
arch/x86/platform/mrst/Makefile
arch/x86/platform/mrst/early_printk_mrst.c [moved from arch/x86/kernel/early_printk_mrst.c with 100% similarity]

index 9e13763b609242e0c5429a364be461a7e8fc2594..f60153d5de5747b4d23a3da9e385f24a191715fa 100644 (file)
@@ -84,7 +84,6 @@ obj-$(CONFIG_DOUBLEFAULT)     += doublefault_32.o
 obj-$(CONFIG_KGDB)             += kgdb.o
 obj-$(CONFIG_VM86)             += vm86_32.o
 obj-$(CONFIG_EARLY_PRINTK)     += early_printk.o
-obj-$(CONFIG_EARLY_PRINTK_MRST)        += early_printk_mrst.o
 
 obj-$(CONFIG_HPET_TIMER)       += hpet.o
 obj-$(CONFIG_APB_TIMER)                += apb_timer.o
index 4572f25f93255f8bb4a5e5158d3c9949f912b657..cd28a350f7f933162a6fa9bd0de08c64e22495f2 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_X86_MRST_EARLY_PRINTK
+#ifdef CONFIG_EARLY_PRINTK_MRST
                if (!strncmp(buf, "mrst", 4)) {
                        mrst_early_console_init();
                        early_console_register(&early_mrst_console, keep);
@@ -250,7 +250,6 @@ static int __init setup_early_printk(char *buf)
                        hsu_early_console_init();
                        early_console_register(&early_hsu_console, keep);
                }
-
 #endif
                buf++;
        }
index 4d3e256780beadff42c239791a3dc05cb75c3583..f61ccdd4934141444f1c8f27d2b3a783f06c37d0 100644 (file)
@@ -1,2 +1,3 @@
 obj-$(CONFIG_X86_MRST)         += mrst.o
 obj-$(CONFIG_X86_MRST)         += vrtc.o
+obj-$(CONFIG_EARLY_PRINTK_MRST)        += early_printk_mrst.o