msm7627a: Add support for EDGE Only variant of MSM8625.
Add support for the MSM-ID of MSM8125A which is edge only
variant of MSM8625.
Change-Id: Iea15052ca46d2fcb80299f266a292181eb844b78
diff --git a/platform/msm_shared/smem.h b/platform/msm_shared/smem.h
index 5fb5099..b43291a 100644
--- a/platform/msm_shared/smem.h
+++ b/platform/msm_shared/smem.h
@@ -229,6 +229,7 @@
MDM9625 = 134,
MSM7125A = 135,
MSM7127A = 136,
+ MSM8125A = 137,
MSM8960AB = 138,
APQ8060AB = 139,
MSM8260AB = 140,
diff --git a/target/msm7627a/init.c b/target/msm7627a/init.c
index 8657e5c..180f42c 100644
--- a/target/msm7627a/init.c
+++ b/target/msm7627a/init.c
@@ -235,7 +235,8 @@
}
/* Detect SURF v/s FFA v/s QRD */
- if (target_msm_id >= MSM8225 && target_msm_id <= MSM8625) {
+ if (target_msm_id >= MSM8225 && target_msm_id <= MSM8625
+ || (target_msm_id == MSM8125A)) {
switch (id) {
case 0x1:
hw_platform = MSM8X25_SURF;
@@ -305,6 +306,7 @@
break;
case MSM8225:
case MSM8625:
+ case MSM8125A:
target_msm_id = MSM8625;
break;
default: