Nobuhiro Iwamatsu | 6ad43d0 | 2008-08-31 22:48:33 +0900 | [diff] [blame] | 1 | /* |
Nobuhiro Iwamatsu | 754613f | 2010-06-16 16:55:26 +0900 | [diff] [blame] | 2 | * Copyright (C) 2008,2010 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> |
| 3 | * Copyright (C) 2008,2010 Renesas Solutions Corp. |
Nobuhiro Iwamatsu | 6ad43d0 | 2008-08-31 22:48:33 +0900 | [diff] [blame] | 4 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Nobuhiro Iwamatsu | 6ad43d0 | 2008-08-31 22:48:33 +0900 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include <common.h> |
| 9 | #include <asm/processor.h> |
Nobuhiro Iwamatsu | 754613f | 2010-06-16 16:55:26 +0900 | [diff] [blame] | 10 | #include <asm/system.h> |
Nobuhiro Iwamatsu | 6ad43d0 | 2008-08-31 22:48:33 +0900 | [diff] [blame] | 11 | |
| 12 | int watchdog_init(void) |
| 13 | { |
| 14 | return 0; |
| 15 | } |
| 16 | |
| 17 | void reset_cpu(unsigned long ignored) |
| 18 | { |
Nobuhiro Iwamatsu | 754613f | 2010-06-16 16:55:26 +0900 | [diff] [blame] | 19 | /* Address error with SR.BL=1 first. */ |
| 20 | trigger_address_error(); |
| 21 | |
Nobuhiro Iwamatsu | 6ad43d0 | 2008-08-31 22:48:33 +0900 | [diff] [blame] | 22 | while (1) |
| 23 | ; |
| 24 | } |