blob: 2edee747dca3bdcf2da66588df4123e10be9dcea [file] [log] [blame]
Nobuhiro Iwamatsu5b6918e2008-08-31 22:48:33 +09001/*
Nobuhiro Iwamatsua9273312010-06-16 16:55:26 +09002 * Copyright (C) 2008,2010 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
3 * Copyright (C) 2008,2010 Renesas Solutions Corp.
Nobuhiro Iwamatsu5b6918e2008-08-31 22:48:33 +09004 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu5b6918e2008-08-31 22:48:33 +09006 */
7
8#include <common.h>
9#include <asm/processor.h>
Nobuhiro Iwamatsua9273312010-06-16 16:55:26 +090010#include <asm/system.h>
Nobuhiro Iwamatsu5b6918e2008-08-31 22:48:33 +090011
12int watchdog_init(void)
13{
14 return 0;
15}
16
17void reset_cpu(unsigned long ignored)
18{
Nobuhiro Iwamatsua9273312010-06-16 16:55:26 +090019 /* Address error with SR.BL=1 first. */
20 trigger_address_error();
21
Nobuhiro Iwamatsu5b6918e2008-08-31 22:48:33 +090022 while (1)
23 ;
24}