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