diff options
Diffstat (limited to 'spm/cactus/cactus_ffa_tests.c')
-rw-r--r-- | spm/cactus/cactus_ffa_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spm/cactus/cactus_ffa_tests.c b/spm/cactus/cactus_ffa_tests.c index 2143e7535..411cc9f2e 100644 --- a/spm/cactus/cactus_ffa_tests.c +++ b/spm/cactus/cactus_ffa_tests.c @@ -6,7 +6,7 @@ #include <assert.h> #include <errno.h> #include <debug.h> -#include "ffa_helpers.h" +#include <ffa_helpers.h> #include <sp_helpers.h> /* FFA version test helpers */ @@ -26,7 +26,7 @@ void ffa_tests(void) uint32_t spm_version = (uint32_t)(0xFFFFFFFF & ret.ret0); bool ffa_version_compatible = ((spm_version >> FFA_VERSION_MAJOR_SHIFT) == FFA_MAJOR && - (FFA_VERSION_MINOR_MASK & spm_version) >= FFA_MINOR); + (spm_version & FFA_VERSION_MINOR_MASK) >= FFA_MINOR); NOTICE("FFA_VERSION returned %u.%u; Compatible: %i\n", spm_version >> FFA_VERSION_MAJOR_SHIFT, |