mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
arm: implement generic PSCI reset call for armv8
Add a psci_system_reset() which calls the SYSTEM_RESET function of PSCI 0.2 and can be used by boards that support it to implement reset_cpu(). Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Tom Rini
parent
20898ea934
commit
5a07abb370
@@ -128,6 +128,8 @@ void hvc_call(struct pt_regs *args);
|
||||
*/
|
||||
void smc_call(struct pt_regs *args);
|
||||
|
||||
void __noreturn psci_system_reset(bool smc);
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
#else /* CONFIG_ARM64 */
|
||||
|
||||
Reference in New Issue
Block a user