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