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