diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2019-01-01 11:03:08 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2019-01-15 17:51:23 +0100 |
commit | 0e4f761bc44346d0c08a8b272f148899198be825 (patch) | |
tree | 591e76f716b09fd14187670d2e8a754b30632815 /services | |
parent | 021318dffb551a0222c0eb5fc23f2d04b8e601ac (diff) |
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>
Diffstat (limited to 'services')
-rw-r--r-- | services/std_svc/spm_deprecated/spm_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/std_svc/spm_deprecated/spm_main.c b/services/std_svc/spm_deprecated/spm_main.c index 540f257b..7525763b 100644 --- a/services/std_svc/spm_deprecated/spm_main.c +++ b/services/std_svc/spm_deprecated/spm_main.c @@ -151,7 +151,7 @@ static int32_t spm_init(void) INFO("Secure Partition initialized.\n"); - return rc; + return !rc; } /******************************************************************************* |