xtensa: drop platform_restart
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 7 Jun 2023 01:54:10 +0000 (18:54 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 13 Jun 2023 02:48:56 +0000 (19:48 -0700)
commit11976fe2a47aa952b8fec54bc2bd54d57642f650
tree4cd122a0864ab08b5591dc17fbc4a0f113d771a8
parent71a5fd7d89fb6e6071f041ba1b55837837ccddb8
xtensa: drop platform_restart

Instead of using xtensa-specific platform_restart callback use
do_kernel_restart in the machine_restart implementation and reimplement
existing platform_restart users with register_restart_handler.
Drop platform_restart declaration and default implementation.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/platform.h
arch/xtensa/kernel/platform.c
arch/xtensa/kernel/setup.c
arch/xtensa/platforms/iss/setup.c
arch/xtensa/platforms/xt2000/setup.c
arch/xtensa/platforms/xtfpga/setup.c