platform: msm8952: Add function to detect 8937

add function to detect 8937 platform.

Change-Id: I562c61274afd421b242fc917cfa084c0dfdd73f0
diff --git a/include/platform.h b/include/platform.h
index 790b132..6e29eaf 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -65,6 +65,7 @@
 int platform_is_msm8939();
 int platform_is_msm8909();
 int platform_is_msm8992();
+int platform_is_msm8937();
 int platform_is_msm8956();
 int boot_device_mask(int);
 uint32_t platform_detect_panel();
diff --git a/platform/msm8952/platform.c b/platform/msm8952/platform.c
index 2da8ced..cfd78cc 100644
--- a/platform/msm8952/platform.c
+++ b/platform/msm8952/platform.c
@@ -176,6 +176,24 @@
 	return 256;
 }
 
+int platform_is_msm8937()
+{
+	uint32_t platform = board_platform_id();
+	uint32_t ret = 0;
+
+	switch(platform)
+	{
+		case MSM8937:
+		case APQ8037:
+			ret = 1;
+			break;
+		default:
+			ret = 0;
+		};
+
+	return ret;
+}
+
 int platform_is_msm8956()
 {
 	uint32_t platform = board_platform_id();