diff options
author | Soby Mathew <soby.mathew@arm.com> | 2018-03-26 12:43:37 +0100 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2018-05-18 12:26:37 +0100 |
commit | 209a60cca5c6a8cd1b68e6e0e53f0b66555a4458 (patch) | |
tree | a3f938a7e81ea914cecd244e49c328a481cfe3fc /include/common | |
parent | 1f4d62df6cba1cb25e40ea050f5327c1c4d4a7b9 (diff) | |
download | trusted-firmware-a-209a60cca5c6a8cd1b68e6e0e53f0b66555a4458.tar.gz |
Allow disabling authentication dynamically
This patch allows platforms to dynamically disable authentication of
images during cold boot. This capability is controlled via the
DYN_DISABLE_AUTH build flag and is only meant for development
purposes.
Change-Id: Ia3df8f898824319bb76d5cc855b5ad6c3d227260
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Diffstat (limited to 'include/common')
-rw-r--r-- | include/common/bl_common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/common/bl_common.h b/include/common/bl_common.h index 09a394dd17..c7c748729c 100644 --- a/include/common/bl_common.h +++ b/include/common/bl_common.h @@ -233,6 +233,14 @@ void reserve_mem(uintptr_t *free_base, size_t *free_size, #endif /* LOAD_IMAGE_V2 */ +#if TRUSTED_BOARD_BOOT && defined(DYN_DISABLE_AUTH) +/* + * API to dynamically disable authentication. Only meant for development + * systems. + */ +void dyn_disable_auth(void); +#endif + extern const char build_message[]; extern const char version_string[]; |