Skip to content

Commit 60b16b6

Browse files
committed
plat-qcom: hoya: lemans: wire up fuse PTA and QFPROM for PAS authentication
Signature authentication reads device fuses at runtime, so enabling CFG_QCOM_PAS_AUTH is not enough on its own - the fuse PTA and the qfprom driver behind it (and the CMD_DB/RPMH client its fuse-write path needs) have to come up with it. Force that whole chain from CFG_QCOM_PAS_AUTH so a stock Lemans build brings up the complete PAS authentication stack end to end. Fold the existing fuse-provisioning enable into the same block so provisioning and the new fuse-PTA consumer share one QFPROM enable and cannot drift apart. Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@qti.qualcomm.com> Assisted-by: Claude:sonnet-5
1 parent e53aa26 commit 60b16b6

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

core/arch/arm/plat-qcom/hoya/lemans/target.mk

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ ifneq ($(CFG_INSECURE),y)
77
CFG_QCOM_QFPROM_FUSEPROV ?= y
88
endif
99

10-
ifeq ($(CFG_QCOM_QFPROM_FUSEPROV),y)
11-
$(call force,CFG_QCOM_CMD_DB,y)
12-
$(call force,CFG_QCOM_RPMH_CLIENT,y)
13-
$(call force,CFG_QCOM_QFPROM,y)
14-
endif
15-
1610
CFG_QCOM_PAS_PTA ?= y
1711

1812
ifeq ($(CFG_QCOM_PAS_PTA),y)
@@ -24,3 +18,16 @@ CFG_QCOM_PAS_AUTH ?= y
2418
CFG_PAS_MD_SLOTS ?= 8
2519
endif
2620
CFG_QCOM_HWKM ?= y
21+
22+
ifeq ($(CFG_QCOM_PAS_AUTH),y)
23+
$(call force,CFG_QCOM_FUSE_PTA,y)
24+
endif
25+
26+
ifneq ($(filter y,$(CFG_QCOM_QFPROM_FUSEPROV) $(CFG_QCOM_FUSE_PTA)),)
27+
$(call force,CFG_QCOM_QFPROM,y)
28+
endif
29+
30+
ifeq ($(CFG_QCOM_QFPROM),y)
31+
$(call force,CFG_QCOM_CMD_DB,y)
32+
$(call force,CFG_QCOM_RPMH_CLIENT,y)
33+
endif

0 commit comments

Comments
 (0)