platform: msm8974: Fix boot time stamp base address

Boot time stamp base address should be differentiated based
on platform id & soc revision instead of just the soc revision.
Also fix the name of the API which is looks for matching platform
id.

Change-Id: Ibec625bb633158e3965986c5301450bb616d121c
diff --git a/platform/msm8974/platform.c b/platform/msm8974/platform.c
index be35f84..b4e0a7b 100644
--- a/platform/msm8974/platform.c
+++ b/platform/msm8974/platform.c
@@ -87,11 +87,32 @@
 	return readl(MPM2_MPM_SLEEP_TIMETICK_COUNT_VAL);
 }
 
+/* Check for 8974 chip */
+int platform_is_8974()
+{
+	uint32_t platform = board_platform_id();
+	int ret = 0;
+
+	switch(platform)
+	{
+		case APQ8074:
+		case MSM8274:
+		case MSM8674:
+		case MSM8974:
+			ret = 1;
+			break;
+		default:
+			ret = 0;
+	};
+
+	return ret;
+}
+
 addr_t get_bs_info_addr()
 {
 	uint32_t soc_ver = board_soc_version();
 
-	if (soc_ver < BOARD_SOC_VERSION2)
+	if (platform_is_8974() && (soc_ver < BOARD_SOC_VERSION2))
 		return ((addr_t)BS_INFO_ADDR_V1);
 	else
 		return ((addr_t)BS_INFO_ADDR_V2);