mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 14:55:16 +00:00
feat(build): pass CCA NV ctr option to cert_create
Modifying build system to pass the new CCA NV counter options ccafw_nvctr to cert_create tool in context of CCA COT Change-Id: I9de2cdc041d96bc19180c3189628ed23e68a992b Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>
This commit is contained in:
parent
60753a6329
commit
0f19b7aada
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015-2023, ARM Limited and Contributors. All rights reserved.
|
# Copyright (c) 2015-2023, Arm Limited and Contributors. All rights reserved.
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
#
|
#
|
||||||
|
@ -43,10 +43,14 @@ FWU_CERT := ${BUILD_PLAT}/fwu_cert.crt
|
||||||
# Default non-volatile counter values (overridable by the platform)
|
# Default non-volatile counter values (overridable by the platform)
|
||||||
TFW_NVCTR_VAL ?= 0
|
TFW_NVCTR_VAL ?= 0
|
||||||
NTFW_NVCTR_VAL ?= 0
|
NTFW_NVCTR_VAL ?= 0
|
||||||
|
CCAFW_NVCTR_VAL ?= 0
|
||||||
|
|
||||||
# Pass the non-volatile counters to the cert_create tool
|
# Pass the non-volatile counters to the cert_create tool
|
||||||
$(eval $(call CERT_ADD_CMD_OPT,${TFW_NVCTR_VAL},--tfw-nvctr))
|
$(eval $(call CERT_ADD_CMD_OPT,${TFW_NVCTR_VAL},--tfw-nvctr))
|
||||||
$(eval $(call CERT_ADD_CMD_OPT,${NTFW_NVCTR_VAL},--ntfw-nvctr))
|
$(eval $(call CERT_ADD_CMD_OPT,${NTFW_NVCTR_VAL},--ntfw-nvctr))
|
||||||
|
ifeq (${COT},cca)
|
||||||
|
$(eval $(call CERT_ADD_CMD_OPT,${CCAFW_NVCTR_VAL},--ccafw-nvctr))
|
||||||
|
endif
|
||||||
|
|
||||||
# Add Trusted Key certificate to the fiptool and cert_create command line options
|
# Add Trusted Key certificate to the fiptool and cert_create command line options
|
||||||
ifneq (${COT},cca)
|
ifneq (${COT},cca)
|
||||||
|
|
Loading…
Add table
Reference in a new issue