xref: /openbmc/u-boot/arch/sh/cpu/sh3/watchdog.c (revision f13606b7)
1 /*
2  * (C) Copyright 2010
3  * Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
4  *
5  * (C) Copyright 2007
6  * Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
7  *
8  * SPDX-License-Identifier:	GPL-2.0+
9  */
10 
11 #include <common.h>
12 #include <asm/processor.h>
13 #include <asm/system.h>
14 
15 int watchdog_init(void)
16 {
17 	return 0;
18 }
19 
20 void reset_cpu(unsigned long ignored)
21 {
22 	/* Address error with SR.BL=1 first. */
23 	trigger_address_error();
24 
25 	while (1)
26 		;
27 }
28