projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
765ed9f
)
[fix] aarch32: optee: define the OP-TEE secure payload
author
Etienne Carriere
<etienne.carriere@linaro.org>
Tue, 6 Feb 2018 09:58:21 +0000
(10:58 +0100)
committer
Etienne Carriere
<etienne.carriere@linaro.org>
Tue, 6 Feb 2018 09:58:30 +0000
(10:58 +0100)
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: Etienne Carriere <etienne.carriere@linaro.org>
bl2/bl2_image_load_v2.c
patch
|
blob
|
history
diff --git
a/bl2/bl2_image_load_v2.c
b/bl2/bl2_image_load_v2.c
index 198b65e405108c735b7101cd5c87d1aa7fe21925..f94378ae67e598d970855dab3dbb7e742b01fef8 100644
(file)
--- a/
bl2/bl2_image_load_v2.c
+++ b/
bl2/bl2_image_load_v2.c
@@
-88,7
+88,7
@@
entry_point_info_t *bl2_load_images(void)
assert(bl2_to_next_bl_params->head->ep_info);
/* 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 =
(u_register_t)bl2_to_next_bl_params;