platform: msm_shared: Add PMIC_TYPE mask macro

Add PMIC_TYPE mask macro to extract the type of PMIC data
from the smem populated PMIC info.

Change-Id: Ic81a882cdde659f9dd84c0163baedd1adf82dd7c
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
diff --git a/platform/msm_shared/include/board.h b/platform/msm_shared/include/board.h
index 866fba2..90f7081 100644
--- a/platform/msm_shared/include/board.h
+++ b/platform/msm_shared/include/board.h
@@ -36,6 +36,8 @@
 #define BOARD_SOC_VERSION2     0x20000
 #define MAX_PMIC_DEVICES       SMEM_MAX_PMIC_DEVICES
 
+#define PMIC_TYPE_MASK 0xff
+
 struct board_pmic_data {
 	uint32_t pmic_type;
 	uint32_t pmic_version;