Commit b3c287f4 authored by Mark Dykes's avatar Mark Dykes Committed by TrustedFirmware Code Review
Browse files

Merge "Use consistent SMCCC error code" into integration

parents b1f97e41 af10d224
...@@ -12,6 +12,4 @@ ...@@ -12,6 +12,4 @@
#define SMCCC_ARCH_WORKAROUND_1 U(0x80008000) #define SMCCC_ARCH_WORKAROUND_1 U(0x80008000)
#define SMCCC_ARCH_WORKAROUND_2 U(0x80007FFF) #define SMCCC_ARCH_WORKAROUND_2 U(0x80007FFF)
#define SMCCC_ARCH_NOT_REQUIRED -2
#endif /* ARM_ARCH_SVC_H */ #endif /* ARM_ARCH_SVC_H */
...@@ -66,7 +66,7 @@ static int32_t smccc_arch_features(u_register_t arg) ...@@ -66,7 +66,7 @@ static int32_t smccc_arch_features(u_register_t arg)
return 0; return 0;
#else #else
/* Either the CPUs are unaffected or permanently mitigated */ /* Either the CPUs are unaffected or permanently mitigated */
return SMCCC_ARCH_NOT_REQUIRED; return SMC_ARCH_CALL_NOT_REQUIRED;
#endif #endif
} }
#endif #endif
......
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