intel-mid: update MRFL cpu ID
authorLi, Ning <ning.li@intel.com>
Thu, 10 May 2012 03:04:21 +0000 (11:04 +0800)
committerbuildbot <buildbot@intel.com>
Fri, 11 May 2012 06:47:43 +0000 (23:47 -0700)
BZ: 34957

MRFL cpu ID changes from VP 4.1.1, which will cause
the kernel identify the wrong platform.
This patch fixs this issue.

Change-Id: I25f5affce355889b88f183b4fbaff8b51a44895c
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/48104
Reviewed-by: Zhang, Shijie <shijie.zhang@intel.com>
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Brown, Mark F <mark.f.brown@intel.com>
Tested-by: Tang, HaifengX <haifengx.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/platform/intel-mid/intel-mid.c

index fe5b53e..fa1c589 100644 (file)
@@ -250,7 +250,8 @@ static void __cpuinit intel_mid_arch_setup(void)
                __intel_mid_cpu_chip = INTEL_MID_CPU_CHIP_LINCROFT;
        else if (boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model == 0x35)
                __intel_mid_cpu_chip = INTEL_MID_CPU_CHIP_CLOVERVIEW;
-       else if (boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model == 0x3C)
+       else if (boot_cpu_data.x86 == 6 && (boot_cpu_data.x86_model == 0x3C ||
+                                       boot_cpu_data.x86_model == 0x4A))
                __intel_mid_cpu_chip = INTEL_MID_CPU_CHIP_TANGIER;
        else {
                pr_err("Unknown Moorestown CPU (%d:%d), default to Lincroft\n",