Commit 95ae5b00 authored by Etienne Carriere's avatar Etienne Carriere
Browse files

[fix] aarch32: optee: define the OP-TEE secure payload



As per MISRA C-2012 Rule 10.4.
arg0 is a u_register_t, can be a 32bit or 64bit upon architecture.
Signed-off-by: default avatarEtienne Carriere <etienne.carriere@linaro.org>
parent 765ed9fc
...@@ -88,7 +88,7 @@ entry_point_info_t *bl2_load_images(void) ...@@ -88,7 +88,7 @@ entry_point_info_t *bl2_load_images(void)
assert(bl2_to_next_bl_params->head->ep_info); assert(bl2_to_next_bl_params->head->ep_info);
/* Populate arg0 for the next BL image if not already provided */ /* Populate arg0 for the next BL image if not already provided */
if (bl2_to_next_bl_params->head->ep_info->args.arg0 == 0) if (bl2_to_next_bl_params->head->ep_info->args.arg0 == (u_register_t)0)
bl2_to_next_bl_params->head->ep_info->args.arg0 = bl2_to_next_bl_params->head->ep_info->args.arg0 =
(u_register_t)bl2_to_next_bl_params; (u_register_t)bl2_to_next_bl_params;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment