diff --git a/bl31/bl31_main.c b/bl31/bl31_main.c index 40547fe..f79a122 100644 --- a/bl31/bl31_main.c +++ b/bl31/bl31_main.c @@ -183,14 +183,6 @@ scr |= SCR_RW_BIT; /* - * Setup general purpose registers context for next image. - */ - cpu_context_t *context = cm_get_context(read_mpidr(), - next_image_info->security_state); - memcpy(&context->gpregs_ctx, &next_image_info->args, - sizeof(next_image_info->args)); - - /* * Tell the context mgmt. library to ensure that SP_EL3 points to * the right context to exit from EL3 correctly. */ diff --git a/plat/juno/bl31_plat_setup.c b/plat/juno/bl31_plat_setup.c index b16ef05..94ba806 100644 --- a/plat/juno/bl31_plat_setup.c +++ b/plat/juno/bl31_plat_setup.c @@ -114,8 +114,6 @@ bl2_to_bl31_params = from_bl2; - /* UEFI expects x0 to be primary CPU MPID */ - bl2_to_bl31_args.bl33_image_info.args.arg0 = PRIMARY_CPU; } /*******************************************************************************