]> git.baikalelectronics.ru Git - arm-tf.git/commit
plat/arm: common: add guard for arm_get_rotpk_info_regs
authorUsama Arif <usama.arif@arm.com>
Mon, 5 Oct 2020 09:18:52 +0000 (10:18 +0100)
committerAlexei Fedorov <Alexei.Fedorov@arm.com>
Tue, 6 Oct 2020 12:14:34 +0000 (12:14 +0000)
commit3bfcc9d700c93992ea900f5790e9ad4be04a0db8
tree1bf97aacb61a857b45ed8e3a7f27916db84f347d
parenteeb77da64684424ef275330e3e15d8350ecc1b07
plat/arm: common: add guard for arm_get_rotpk_info_regs

Only define arm_get_rotpk_info_regs if ROTPK is in registers,
i.e. (ARM_ROTPK_LOCATION_ID == ARM_ROTPK_REGS_ID). This will
allow platform build without definition of TZ_PUB_KEY_HASH_BASE
if dedicated registers for ROTPK are not available on the platform.

Change-Id: I74ee2d5007f5d876a031a1efca20ebee2dede0c7
Signed-off-by: Usama Arif <usama.arif@arm.com>
plat/arm/board/common/board_arm_trusted_boot.c