]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/sh/cpu/sh2/watchdog.c
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / sh / cpu / sh2 / watchdog.c
CommitLineData
6ad43d0d 1/*
754613f7
NI
2 * Copyright (C) 2008,2010 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
3 * Copyright (C) 2008,2010 Renesas Solutions Corp.
6ad43d0d 4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
6ad43d0d
NI
6 */
7
8#include <common.h>
9#include <asm/processor.h>
754613f7 10#include <asm/system.h>
6ad43d0d
NI
11
12int watchdog_init(void)
13{
14 return 0;
15}
16
17void reset_cpu(unsigned long ignored)
18{
754613f7
NI
19 /* Address error with SR.BL=1 first. */
20 trigger_address_error();
21
6ad43d0d
NI
22 while (1)
23 ;
24}