socinfo: Add support for MSM8996proAU SoC

Add CPU IDs to the socinfo table needed to support MSM8996pro
Automotive SoC.

CRs-Fixed: 991575
Change-Id: I6efaf4574a5f563b0ee3edd8545e0acd027ad59b
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
This commit is contained in:
Mathew Joseph Karimpanal 2016-03-02 16:21:06 -08:00 committed by Gerrit - the friendly Code Review server
parent 4d76d40f3b
commit c44b4a34d2
2 changed files with 3 additions and 8 deletions

View file

@ -513,11 +513,12 @@ static struct msm_soc_info cpu_of_id[] = {
/* 8996 IDs */
[246] = {MSM_CPU_8996, "MSM8996"},
[310] = {MSM_CPU_8996, "MSM8996"},
[311] = {MSM_CPU_8996, "APQ8096"},
[291] = {MSM_CPU_8996, "APQ8096"},
[305] = {MSM_CPU_8996, "MSM8996pro"},
[310] = {MSM_CPU_8996, "MSM8996"},
[311] = {MSM_CPU_8996, "APQ8096"},
[312] = {MSM_CPU_8996, "APQ8096pro"},
[315] = {MSM_CPU_8996, "MSM8996pro"},
/* 8976 ID */
[266] = {MSM_CPU_8976, "MSM8976"},
@ -1195,10 +1196,6 @@ static void * __init setup_dummy_socinfo(void)
dummy_socinfo.id = 246;
strlcpy(dummy_socinfo.build_id, "msm8996 - ",
sizeof(dummy_socinfo.build_id));
} else if (early_machine_is_msm8996_auto()) {
dummy_socinfo.id = 310;
strlcpy(dummy_socinfo.build_id, "msm8996-auto - ",
sizeof(dummy_socinfo.build_id));
} else if (early_machine_is_msm8929()) {
dummy_socinfo.id = 268;
strlcpy(dummy_socinfo.build_id, "msm8929 - ",

View file

@ -84,8 +84,6 @@
of_flat_dt_is_compatible(of_get_flat_dt_root(), "qcom,msmtellurium")
#define early_machine_is_msm8996() \
of_flat_dt_is_compatible(of_get_flat_dt_root(), "qcom,msm8996")
#define early_machine_is_msm8996_auto() \
of_flat_dt_is_compatible(of_get_flat_dt_root(), "qcom,msm8996-cdp")
#define early_machine_is_msm8929() \
of_flat_dt_is_compatible(of_get_flat_dt_root(), "qcom,msm8929")
#define early_machine_is_msm8998() \