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