Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Yoshihiro Shimoda | ad1a3a9 | 2007-12-03 22:58:45 +0900 | [diff] [blame] | 2 | /* |
Nobuhiro Iwamatsu | a927331 | 2010-06-16 16:55:26 +0900 | [diff] [blame] | 3 | * (C) Copyright 2010 |
| 4 | * Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> |
| 5 | * |
Yoshihiro Shimoda | ad1a3a9 | 2007-12-03 22:58:45 +0900 | [diff] [blame] | 6 | * (C) Copyright 2007 |
| 7 | * Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> |
Yoshihiro Shimoda | ad1a3a9 | 2007-12-03 22:58:45 +0900 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #include <common.h> |
| 11 | #include <asm/processor.h> |
Nobuhiro Iwamatsu | a927331 | 2010-06-16 16:55:26 +0900 | [diff] [blame] | 12 | #include <asm/system.h> |
Yoshihiro Shimoda | ad1a3a9 | 2007-12-03 22:58:45 +0900 | [diff] [blame] | 13 | |
| 14 | int watchdog_init(void) |
| 15 | { |
| 16 | return 0; |
| 17 | } |
| 18 | |
| 19 | void reset_cpu(unsigned long ignored) |
| 20 | { |
Nobuhiro Iwamatsu | a927331 | 2010-06-16 16:55:26 +0900 | [diff] [blame] | 21 | /* Address error with SR.BL=1 first. */ |
| 22 | trigger_address_error(); |
| 23 | |
Yoshihiro Shimoda | ad1a3a9 | 2007-12-03 22:58:45 +0900 | [diff] [blame] | 24 | while (1) |
| 25 | ; |
| 26 | } |