blob: 28240edf19cd9861f74944a9b264a43f391d0f42 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu5b6918e2008-08-31 22:48:33 +09002/*
Nobuhiro Iwamatsua9273312010-06-16 16:55:26 +09003 * Copyright (C) 2008,2010 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
4 * Copyright (C) 2008,2010 Renesas Solutions Corp.
Nobuhiro Iwamatsu5b6918e2008-08-31 22:48:33 +09005 */
6
7#include <common.h>
8#include <asm/processor.h>
Nobuhiro Iwamatsua9273312010-06-16 16:55:26 +09009#include <asm/system.h>
Nobuhiro Iwamatsu5b6918e2008-08-31 22:48:33 +090010
11int watchdog_init(void)
12{
13 return 0;
14}
15
16void reset_cpu(unsigned long ignored)
17{
Nobuhiro Iwamatsua9273312010-06-16 16:55:26 +090018 /* Address error with SR.BL=1 first. */
19 trigger_address_error();
20
Nobuhiro Iwamatsu5b6918e2008-08-31 22:48:33 +090021 while (1)
22 ;
23}