]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
fix(arm): arm_rotpk_header undefined reference
authorlaurenw-arm <lauren.wehrmeister@arm.com>
Tue, 13 Dec 2022 15:42:40 +0000 (09:42 -0600)
committerManish V Badarkhe <Manish.Badarkhe@arm.com>
Fri, 16 Dec 2022 17:17:20 +0000 (17:17 +0000)
Moving ARM_ROTPK_S to default to arm_dev_rotpk.S as it was not being
set for Juno cryptocell and this should be the value in most cases.

Change-Id: I56a5a4e61f1ca728b87322b0b09a0d73ed1d5ee0
Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>
plat/arm/board/common/board_common.mk

index 1f59a4ffcb32b00c29fcd103a6ffeb1beac5db05..d73c2e3a322e2f2e1f06155c3cfdaf7151701856 100644 (file)
@@ -12,6 +12,7 @@ BL1_SOURCES           +=      drivers/cfi/v2m/v2m_flash.c
 BL2_SOURCES            +=      drivers/cfi/v2m/v2m_flash.c
 
 ifneq (${TRUSTED_BOARD_BOOT},0)
+ARM_ROTPK_S = plat/arm/board/common/rotpk/arm_dev_rotpk.S
 ifneq (${ARM_CRYPTOCELL_INTEG}, 1)
 # ROTPK hash location
 ifeq (${ARM_ROTPK_LOCATION}, regs)
@@ -20,7 +21,6 @@ else ifeq (${ARM_ROTPK_LOCATION}, devel_rsa)
        CRYPTO_ALG=rsa
        ARM_ROTPK_LOCATION_ID = ARM_ROTPK_DEVEL_RSA_ID
        ARM_ROTPK_HASH = plat/arm/board/common/rotpk/arm_rotpk_rsa_sha256.bin
-       ARM_ROTPK_S = plat/arm/board/common/rotpk/arm_dev_rotpk.S
 $(eval $(call add_define_val,ARM_ROTPK_HASH,'"$(ARM_ROTPK_HASH)"'))
 $(BUILD_PLAT)/bl2/arm_dev_rotpk.o : $(ARM_ROTPK_HASH)
 $(warning Development keys support for FVP is deprecated. Use `regs` \
@@ -29,7 +29,6 @@ else ifeq (${ARM_ROTPK_LOCATION}, devel_ecdsa)
        CRYPTO_ALG=ec
        ARM_ROTPK_LOCATION_ID = ARM_ROTPK_DEVEL_ECDSA_ID
        ARM_ROTPK_HASH = plat/arm/board/common/rotpk/arm_rotpk_ecdsa_sha256.bin
-       ARM_ROTPK_S = plat/arm/board/common/rotpk/arm_dev_rotpk.S
 $(eval $(call add_define_val,ARM_ROTPK_HASH,'"$(ARM_ROTPK_HASH)"'))
 $(BUILD_PLAT)/bl2/arm_dev_rotpk.o : $(ARM_ROTPK_HASH)
 $(warning Development keys support for FVP is deprecated. Use `regs` \