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

Commit f34f96c2 authored by Xiaocheng Li's avatar Xiaocheng Li Committed by Su Liu
Browse files

msm: socinfo: Add board identification function for QRD OEM



QRD board identification function is added to distinguish
different OEM.

Change-Id: I5a5161baa98c1e0fe6397a807c16c8e18248b8fa
Signed-off-by: default avatarXiaocheng Li <lix@codeaurora.org>
parent d4e01b13
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

/ {
	model = "Qualcomm MSM 8226v1 QRD";
	compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd";
	compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,skuf", "qcom,qrd";
	qcom,board-id = <11 2>;
};
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

/ {
	model = "Qualcomm MSM 8226v2 QRD";
	compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd";
	compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,skuf", "qcom,qrd";
	qcom,board-id = <0xb 0x2>;
};
+2 −0
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@
#define of_board_is_mtp()	of_machine_is_compatible("qcom,mtp")
#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 machine_is_msm8974()	of_machine_is_compatible("qcom,msm8974")
#define machine_is_msm9625()	of_machine_is_compatible("qcom,msm9625")
@@ -72,6 +73,7 @@
#define of_board_is_mtp()		0
#define of_board_is_qrd()		0
#define of_board_is_xpm()		0
#define of_board_is_skuf()		0

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