blob: 45640ffcb018fd78327e4bb48c73428a688909c5 [file] [log] [blame]
Yoshihiro Shimodaad1a3a92007-12-03 22:58:45 +09001/*
Nobuhiro Iwamatsua9273312010-06-16 16:55:26 +09002 * (C) Copyright 2010
3 * Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
4 *
Yoshihiro Shimodaad1a3a92007-12-03 22:58:45 +09005 * (C) Copyright 2007
6 * Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
7 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02008 * SPDX-License-Identifier: GPL-2.0+
Yoshihiro Shimodaad1a3a92007-12-03 22:58:45 +09009 */
10
11#include <common.h>
12#include <asm/processor.h>
Nobuhiro Iwamatsua9273312010-06-16 16:55:26 +090013#include <asm/system.h>
Yoshihiro Shimodaad1a3a92007-12-03 22:58:45 +090014
15int watchdog_init(void)
16{
17 return 0;
18}
19
20void reset_cpu(unsigned long ignored)
21{
Nobuhiro Iwamatsua9273312010-06-16 16:55:26 +090022 /* Address error with SR.BL=1 first. */
23 trigger_address_error();
24
Yoshihiro Shimodaad1a3a92007-12-03 22:58:45 +090025 while (1)
26 ;
27}