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
1 parent e04723e commit a2f8b16650ab3d80864c0edfa205c2c8dd012b8d
@Vikram Kanigiri Vikram Kanigiri authored on 23 Jul 2015
Showing 3 changed files
View
bl1/bl1_main.c
View
common/bl_common.c
View
include/common/bl_common.h