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