[PATCH] firmware: qcom: uefisecapp: Allow on X1E devices

From: Bjorn Andersson
Date: Thu May 23 2024 - 23:24:07 EST


From: Bjorn Andersson <quic_bjorande@xxxxxxxxxxx>

As with previous platforms, qseecom and the uefisecapp provides access
to EFI variables. Add X1E CRD and QCP devices to the allowlist.

Signed-off-by: Bjorn Andersson <quic_bjorande@xxxxxxxxxxx>
---
Only tested on CRD
---
drivers/firmware/qcom/qcom_scm.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_scm.c
index 68f4df7e6c3c..1be5374cd3c9 100644
--- a/drivers/firmware/qcom/qcom_scm.c
+++ b/drivers/firmware/qcom/qcom_scm.c
@@ -1649,6 +1649,8 @@ static const struct of_device_id qcom_scm_qseecom_allowlist[] __maybe_unused = {
{ .compatible = "lenovo,flex-5g" },
{ .compatible = "lenovo,thinkpad-x13s", },
{ .compatible = "qcom,sc8180x-primus" },
+ { .compatible = "qcom,x1e80100-crd" },
+ { .compatible = "qcom,x1e80100-qcp" },
{ }
};


---
base-commit: 3689b0ef08b70e4e03b82ebd37730a03a672853a
change-id: 20240523-x1e-efivarfs-73e01de5b993

Best regards,
--
Bjorn Andersson <quic_bjorande@xxxxxxxxxxx>