diff options
author | Vikram Kanigiri <vikram.kanigiri@arm.com> | 2015-07-23 11:16:28 +0100 |
---|---|---|
committer | Vikram Kanigiri <vikram.kanigiri@arm.com> | 2015-09-02 13:48:45 +0100 |
commit | a2f8b16650ab3d80864c0edfa205c2c8dd012b8d (patch) | |
tree | 5dcb8b750a49b4aef85310dc6cef818d309363ac /include/common | |
parent | e04723e21362c322b7725662871153dadb9d3167 (diff) |
Ensure BL2 security state is secure
BL2 loads secure runtime code(BL3-1, BL3-2) and hence it has to
run in secure world otherwise BL3-1/BL3-2 have to execute from
non-secure memory. Hence, This patch removes the change_security_state()
call in bl1_run_bl2() and replaces it with an assert to confirm
the BL2 as secure.
Fixes ARM-software/tf-issues#314
Change-Id: I611b83f5c4090e58a76a2e950b0d797b46df3c29
Diffstat (limited to 'include/common')
-rw-r--r-- | include/common/bl_common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/common/bl_common.h b/include/common/bl_common.h index 66244ca9..164377f6 100644 --- a/include/common/bl_common.h +++ b/include/common/bl_common.h @@ -234,7 +234,6 @@ CASSERT(sizeof(unsigned long) == * Function & variable prototypes ******************************************************************************/ unsigned long page_align(unsigned long, unsigned); -void change_security_state(unsigned int); unsigned long image_size(unsigned int image_id); int load_image(meminfo_t *mem_layout, unsigned int image_id, |