1 // SPDX-License-Identifier: GPL-2.0+
4 * Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
9 #include <linux/compiler.h>
10 #include <asm/cache.h>
11 #include <asm/mipsregs.h>
12 #include <asm/reboot.h>
14 #ifndef CONFIG_SYSRESET
15 void __weak _machine_restart(void)
17 fprintf(stderr, "*** reset failed ***\n");
23 int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
31 int arch_cpu_init(void)