mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2024-11-27 20:00:42 +00:00
Use consistent SMCCC error code
Removed duplicate error code present for SMCCC and used proper error code for "SMCCC_ARCH_WORKAROUND_2" call. Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com> Change-Id: I76fc7c88095f78a7e2c3d205838f8eaf3132ed5c
This commit is contained in:
parent
6019642947
commit
af10d22486
@ -12,6 +12,4 @@
|
||||
#define SMCCC_ARCH_WORKAROUND_1 U(0x80008000)
|
||||
#define SMCCC_ARCH_WORKAROUND_2 U(0x80007FFF)
|
||||
|
||||
#define SMCCC_ARCH_NOT_REQUIRED -2
|
||||
|
||||
#endif /* ARM_ARCH_SVC_H */
|
||||
|
@ -66,7 +66,7 @@ static int32_t smccc_arch_features(u_register_t arg)
|
||||
return 0;
|
||||
#else
|
||||
/* Either the CPUs are unaffected or permanently mitigated */
|
||||
return SMCCC_ARCH_NOT_REQUIRED;
|
||||
return SMC_ARCH_CALL_NOT_REQUIRED;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user