services/spm_deprecated: fix return code polarity of spm_init()
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 1 Jan 2019 10:03:08 +0000 (11:03 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 15 Jan 2019 16:51:23 +0000 (17:51 +0100)
commit0e4f761bc44346d0c08a8b272f148899198be825
tree591e76f716b09fd14187670d2e8a754b30632815
parent021318dffb551a0222c0eb5fc23f2d04b8e601ac
services/spm_deprecated: fix return code polarity of spm_init()

Registered init handlers return a boolean int, not a return code,
so convert the result from the SPM init call before returning it.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
services/std_svc/spm_deprecated/spm_main.c