Merge "msm: socinfo: Add support for fsm9900 targets"
diff --git a/arch/arm/mach-msm/include/mach/socinfo.h b/arch/arm/mach-msm/include/mach/socinfo.h
index 64531f0..dc8cbaa 100644
--- a/arch/arm/mach-msm/include/mach/socinfo.h
+++ b/arch/arm/mach-msm/include/mach/socinfo.h
@@ -53,6 +53,8 @@
 	of_flat_dt_is_compatible(of_get_flat_dt_root(), "qcom,apq8084")
 #define early_machine_is_msmkrypton()	\
 	of_flat_dt_is_compatible(of_get_flat_dt_root(), "qcom,msmkrypton")
+#define early_machine_is_fsm9900()	\
+	of_flat_dt_is_compatible(of_get_flat_dt_root(), "qcom,fsm9900")
 #else
 #define of_board_is_sim()		0
 #define of_board_is_rumi()		0
@@ -70,6 +72,7 @@
 #define early_machine_is_mpq8092()	0
 #define early_machine_is_apq8084()	0
 #define early_machine_is_msmkrypton()	0
+#define early_machine_is_fsm9900()	0
 #endif
 
 #define PLATFORM_SUBTYPE_MDM	1
@@ -110,6 +113,7 @@
 	MSM_CPU_8625Q,
 	MSM_CPU_8084,
 	MSM_CPU_KRYPTON,
+	FSM_CPU_9900,
 };
 
 enum pmic_model {
diff --git a/arch/arm/mach-msm/socinfo.c b/arch/arm/mach-msm/socinfo.c
index d316496..abc63ef 100644
--- a/arch/arm/mach-msm/socinfo.c
+++ b/arch/arm/mach-msm/socinfo.c
@@ -361,6 +361,9 @@
 	/* krypton IDs */
 	[187] = MSM_CPU_KRYPTON,
 
+	/* FSM9900 ID */
+	[188] = FSM_CPU_9900,
+
 	/* Uninitialized IDs are not known to run Linux.
 	   MSM_CPU_UNKNOWN is set to 0 to ensure these IDs are
 	   considered as unknown CPU. */