BL31: Fix warning about BL32 init function
The expected value for failure is 0, so the warning only has to be shown
in that case. This is the way the TSPD has done it since it was
introduced, and the way SPM and OP-TEE do it.

Trusty wrongly returns 0 on success.

In the case of TLK, the return value of tlkd_init() is passed from the
secure world in register X1 when calling the SMC TLK_ENTRY_DONE.

Change-Id: I39106d67631ee57f109619f8830bf4b9d96155e6
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
1 parent e52ed09 commit 74ad948f43942409c29c600deaa9dd87997f1d0e
@Antonio Nino Diaz Antonio Nino Diaz authored on 18 Sep 2018
Showing 1 changed file
View
bl31/bl31_main.c