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