40bb33e48e359bdc646202cf309d13ece16b9b32
[project/bcm63xx/u-boot.git] / arch / sh / cpu / sh3 / watchdog.c
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
14 int watchdog_init(void)
15 {
16 return 0;
17 }
18
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 }