Remove `RUN_IMAGE` usage as opcode passed to next EL.
The primary usage of `RUN_IMAGE` SMC function id, used by BL2 is to
make a request to BL1 to execute BL31. But BL2 also uses it as
opcode to check if it is allowed to execute which is not the
intended usage of `RUN_IMAGE` SMC.

This patch removes the usage of `RUN_IMAGE` as opcode passed to
next EL to check if it is allowed to execute.

Change-Id: I6aebe0415ade3f43401a4c8a323457f032673657
1 parent 5ba8f66 commit 5698c5b3db083b70645ebd288a6957fe590a1d53
@Yatharth Kochar Yatharth Kochar authored on 29 Oct 2015
Showing 3 changed files
View
bl1/bl1_main.c
View
bl2/aarch64/bl2_entrypoint.S
View
include/common/bl_common.h