Commit 0e4f761b authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

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: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
parent 021318df
...@@ -151,7 +151,7 @@ static int32_t spm_init(void) ...@@ -151,7 +151,7 @@ static int32_t spm_init(void)
INFO("Secure Partition initialized.\n"); INFO("Secure Partition initialized.\n");
return rc; return !rc;
} }
/******************************************************************************* /*******************************************************************************
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment