x86, earlyprintk: Add earlyprintk for Intel Moorestown platform
authorFeng Tang <feng.tang@intel.com>
Mon, 13 Sep 2010 07:08:55 +0000 (15:08 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 8 Oct 2010 08:01:47 +0000 (10:01 +0200)
commitc20b5c3318fe45e4f33f01a91ccead645dfdf619
tree7fb6e9ad8643b60c93ba2dc163c010f3b6978836
parent5a47c7dae861c3ca3edf178546641909851bf715
x86, earlyprintk: Add earlyprintk for Intel Moorestown platform

Intel Moorestown platform has a spi-uart device(Maxim3110),
which connects to a Designware spi core controller. This patch
will add early console function based on it.

As it will be used long before Linux spi subsystem get
initialised, we simply directly manipulate the spi controller's
register to acheive the early console func. This is safe as it
will be disabled when devices subsytem get initialised.

To use it, user need enable CONFIG_X86_MRST_EARLY_PRINTK in
kenrel config and add "earlyprintk=mrst" in kernel command line.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Cc: greg@kroah.com
LKML-Reference: <1284361736-23011-4-git-send-email-feng.tang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/Kconfig.debug
arch/x86/include/asm/mrst.h
arch/x86/kernel/Makefile
arch/x86/kernel/early_printk.c
arch/x86/kernel/early_printk_mrst.c [new file with mode: 0644]
This page took 0.038289 seconds and 5 git commands to generate.