From 5698c5b3db083b70645ebd288a6957fe590a1d53 Mon Sep 17 00:00:00 2001 From: Yatharth Kochar Date: Thu, 29 Oct 2015 12:47:02 +0000 Subject: 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 --- bl1/bl1_main.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'bl1/bl1_main.c') diff --git a/bl1/bl1_main.c b/bl1/bl1_main.c index 73f023aba..9c0927f84 100644 --- a/bl1/bl1_main.c +++ b/bl1/bl1_main.c @@ -51,9 +51,6 @@ static void __dead2 bl1_run_bl2(entry_point_info_t *bl2_ep) bl1_arch_next_el_setup(); - /* Tell next EL what we want done */ - bl2_ep->args.arg0 = RUN_IMAGE; - write_spsr_el3(bl2_ep->spsr); write_elr_el3(bl2_ep->pc); -- cgit v1.2.3