blob: 40bb33e48e359bdc646202cf309d13ece16b9b32 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Yoshihiro Shimodaad1a3a92007-12-03 22:58:45 +09002/*
Nobuhiro Iwamatsua9273312010-06-16 16:55:26 +09003 * (C) Copyright 2010
4 * Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
5 *
Yoshihiro Shimodaad1a3a92007-12-03 22:58:45 +09006 * (C) Copyright 2007
7 * Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Yoshihiro Shimodaad1a3a92007-12-03 22:58:45 +09008 */
9
10#include <common.h>
11#include <asm/processor.h>
Nobuhiro Iwamatsua9273312010-06-16 16:55:26 +090012#include <asm/system.h>
Yoshihiro Shimodaad1a3a92007-12-03 22:58:45 +090013
14int watchdog_init(void)
15{
16 return 0;
17}
18
19void reset_cpu(unsigned long ignored)
20{
Nobuhiro Iwamatsua9273312010-06-16 16:55:26 +090021 /* Address error with SR.BL=1 first. */
22 trigger_address_error();
23
Yoshihiro Shimodaad1a3a92007-12-03 22:58:45 +090024 while (1)
25 ;
26}