aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2018-03-26 15:16:46 +0100
committerSoby Mathew <soby.mathew@arm.com>2018-05-18 12:26:38 +0100
commit6e79f9fd4b65f473374391595e31c155e9e0ad85 (patch)
tree8dab623138c43dd71ab05d9146f07c126ccd007e /include
parent209a60cca5c6a8cd1b68e6e0e53f0b66555a4458 (diff)
downloadplatform_external_arm-trusted-firmware-6e79f9fd4b65f473374391595e31c155e9e0ad85.tar.gz
platform_external_arm-trusted-firmware-6e79f9fd4b65f473374391595e31c155e9e0ad85.tar.bz2
platform_external_arm-trusted-firmware-6e79f9fd4b65f473374391595e31c155e9e0ad85.zip
FVP: Enable capability to disable auth via dynamic config
This patch adds capability to FVP to disable authentication dynamically via the `disable_auth` property in TB_FW_CONFIG. Both BL1 and BL2 parses the TB_FW_CONFIG for the `disable_auth` property and invokes the `load_dyn_disable_auth()` API to disable authentication if the property is set to 1. The DYN_DISABLE_AUTH is enabled by default for FVP as it is a development platform. Note that the TB_FW_CONFIG has to be authenticated by BL1 irrespective of these settings. The arm_bl2_dyn_cfg_init() is now earlier in bl2_plat_preload_setup() rather than in bl2_platform_setup() as we need to get the value of `disable_auth` property prior to authentication of any image by BL2. Change-Id: I734acd59572849793e5020ec44c6ac51f654a4d1 Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Diffstat (limited to 'include')
-rw-r--r--include/plat/arm/common/arm_dyn_cfg_helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/plat/arm/common/arm_dyn_cfg_helpers.h b/include/plat/arm/common/arm_dyn_cfg_helpers.h
index 4a0f6397d..826924de0 100644
--- a/include/plat/arm/common/arm_dyn_cfg_helpers.h
+++ b/include/plat/arm/common/arm_dyn_cfg_helpers.h
@@ -12,5 +12,6 @@
int arm_dyn_get_hwconfig_info(void *dtb, int node,
uint64_t *hw_config_addr, uint32_t *hw_config_size);
int arm_dyn_tb_fw_cfg_init(void *dtb, int *node);
+int arm_dyn_get_disable_auth(void *dtb, int node, uint32_t *disable_auth);
#endif /* __ARM_DYN_CFG_HELPERS_H__ */