mrst: add cpu detection and earlyprintk support for cloverview
authorLeonard Mai <leonard.mai@intel.com>
Mon, 28 Nov 2011 16:15:32 +0000 (08:15 -0800)
committerbuildbot <buildbot@intel.com>
Tue, 6 Dec 2011 15:05:49 +0000 (07:05 -0800)
commitcd4bc4257f4401cddf46a5449d685eabee681e31
treea160bb3dc91a11212354fc0a901afb06e8286de4
parent6c6c57fe458375377f10759b711245a6e2e882eb
mrst: add cpu detection and earlyprintk support for cloverview

BZ: 15575

Cloverview SOC use CPUID=0x30650 which translates x86_model to 0x35. The
Medfield kernel currently does not support this x86_model number hence
it won't be able to detect Cloverview SOC properly. Also, there is a memory
map change on Cloverview's SPI1 interface hence earlyprintk won't work on
Cloverview SOC.

This patch adds CPU detection and earlyprintk support for Cloverview SOC.

Change-Id: I1ce935aeee4b42a02b62e14c01682806d16e0acb
Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
Reviewed-by: Pierre Tardy <pierre.tardy@intel.com>
Reviewed-by: Yong Yao <yong.yao@intel.com>
Tested-by: Siva Prasath Ponnusamy <siva.prasath.ponnusamy@intel.com>
Reviewed-on: http://android.intel.com:8080/25443
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Seibel, Eric <eric.seibel@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/include/asm/mrst.h
arch/x86/platform/mrst/early_printk_mrst.c
arch/x86/platform/mrst/mrst.c