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>
1 parent 021318d commit 0e4f761bc44346d0c08a8b272f148899198be825
@Ard Biesheuvel Ard Biesheuvel authored on 1 Jan 2019
Showing 1 changed file
View
services/std_svc/spm_deprecated/spm_main.c