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:
parent
021318dffb
commit
0e4f761bc4
|
@ -151,7 +151,7 @@ static int32_t spm_init(void)
|
|||
|
||||
INFO("Secure Partition initialized.\n");
|
||||
|
||||
return rc;
|
||||
return !rc;
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
|
|
Loading…
Reference in New Issue