2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2008-08-31 13:48:33 +00:00
|
|
|
/*
|
2010-06-16 07:55:26 +00:00
|
|
|
* Copyright (C) 2008,2010 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
|
|
|
|
* Copyright (C) 2008,2010 Renesas Solutions Corp.
|
2008-08-31 13:48:33 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
#include <asm/processor.h>
|
2010-06-16 07:55:26 +00:00
|
|
|
#include <asm/system.h>
|
2008-08-31 13:48:33 +00:00
|
|
|
|
|
|
|
int watchdog_init(void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void reset_cpu(unsigned long ignored)
|
|
|
|
{
|
2010-06-16 07:55:26 +00:00
|
|
|
/* Address error with SR.BL=1 first. */
|
|
|
|
trigger_address_error();
|
|
|
|
|
2008-08-31 13:48:33 +00:00
|
|
|
while (1)
|
|
|
|
;
|
|
|
|
}
|