3 * Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
5 * SPDX-License-Identifier: GPL-2.0+
10 #include <linux/compiler.h>
11 #include <asm/mipsregs.h>
12 #include <asm/reboot.h>
14 void __weak _machine_restart(void)
16 fprintf(stderr, "*** reset failed ***\n");
22 int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
29 void write_one_tlb(int index, u32 pagemask, u32 hi, u32 low0, u32 low1)
31 write_c0_entrylo0(low0);
32 write_c0_pagemask(pagemask);
33 write_c0_entrylo1(low1);
35 write_c0_index(index);