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>
This commit is contained in:
Ard Biesheuvel 2019-01-01 11:03:08 +01:00
parent 021318dffb
commit 0e4f761bc4
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ static int32_t spm_init(void)
INFO("Secure Partition initialized.\n");
return rc;
return !rc;
}
/*******************************************************************************