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:
e52ed09
)
trusty: Fix return value of trusty_init()
author
Antonio Nino Diaz
<
[email protected]
>
Tue, 18 Sep 2018 12:13:24 +0000
(13:13 +0100)
committer
Antonio Nino Diaz
<
[email protected]
>
Tue, 18 Sep 2018 12:33:28 +0000
(13:33 +0100)
The value used to signal failure is 0. It is needed to return a different
value on success.
Change-Id: I2186aa7dfbfc825bfe7b3d5ae3c4de7af10ee44f
Signed-off-by: Antonio Nino Diaz <
[email protected]
>
services/spd/trusty/trusty.c
patch
|
blob
|
history
diff --git
a/services/spd/trusty/trusty.c
b/services/spd/trusty/trusty.c
index cc808e2b0b59b37040968b8807909b3d9f96d0d9..333583622558919d48b0ae3605f3cef883b374dc 100644
(file)
--- a/
services/spd/trusty/trusty.c
+++ b/
services/spd/trusty/trusty.c
@@
-322,7
+322,7
@@
static int32_t trusty_init(void)
fpregs_context_restore(get_fpregs_ctx(cm_get_context(NON_SECURE)));
cm_set_next_eret_context(NON_SECURE);
- return
0
;
+ return
1
;
}
static void trusty_cpu_suspend(uint32_t off)