msm: Adds support for 8x30 AB variants
Change-Id: I051ccfcb90f502f12d8b20791c18cb38b22ac179
diff --git a/platform/msm_shared/smem.h b/platform/msm_shared/smem.h
index a873534..4d7e735 100755
--- a/platform/msm_shared/smem.h
+++ b/platform/msm_shared/smem.h
@@ -241,6 +241,10 @@
MDM9225M = 150,
MDM9625M = 152,
APQ8064AB = 153, /* aka V2 PRIME */
+ MSM8930AB = 154,
+ MSM8630AB = 155,
+ MSM8230AB = 156,
+ APQ8030AB = 157,
};
enum platform {
diff --git a/target/msm8960/init.c b/target/msm8960/init.c
index fc565c3..05ef672 100755
--- a/target/msm8960/init.c
+++ b/target/msm8960/init.c
@@ -120,7 +120,11 @@
(platform_id == MSM8930) ||
(platform_id == MSM8230AA) ||
(platform_id == MSM8630AA) ||
- (platform_id == MSM8930AA))
+ (platform_id == MSM8930AA) ||
+ (platform_id == MSM8930AB) ||
+ (platform_id == MSM8630AB) ||
+ (platform_id == MSM8230AB) ||
+ (platform_id == APQ8030AB))
{
msm8930_keypad_init();
}
@@ -346,6 +350,8 @@
} else if ((platform == MSM8230) || (platform == MSM8630) ||
(platform == MSM8930) || (platform == MSM8230AA) ||
(platform == MSM8630AA) || (platform == MSM8930AA) ||
+ (platform == MSM8930AB) || (platform == MSM8630AB) ||
+ (platform == MSM8230AB) || (platform == APQ8030AB) ||
(platform == APQ8030)) {
switch (platform_hw) {
case HW_PLATFORM_SURF: