Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d39eec1 authored by Eugene Yasman's avatar Eugene Yasman Committed by Asaf Penso
Browse files

msm: socinfo: Add board identification function for SBC



Add support to recognize the SBC board based on the device
tree compatible string.

Change-Id: I6a68858ecebc34858e7365855d45d3f573830b88
Signed-off-by: default avatarEugene Yasman <eyasman@codeaurora.org>
parent 312d2603
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@
#define of_board_is_qrd()	of_machine_is_compatible("qcom,qrd")
#define of_board_is_xpm()	of_machine_is_compatible("qcom,xpm")
#define of_board_is_skuf()	of_machine_is_compatible("qcom,skuf")
#define of_board_is_sbc()	of_machine_is_compatible("qcom,sbc")

#define machine_is_msm8974()	of_machine_is_compatible("qcom,msm8974")
#define machine_is_msm9625()	of_machine_is_compatible("qcom,msm9625")
@@ -74,6 +75,7 @@
#define of_board_is_qrd()		0
#define of_board_is_xpm()		0
#define of_board_is_skuf()		0
#define of_board_is_sbc()		0

#define machine_is_msm8974()		0
#define machine_is_msm9625()		0