~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/arch/sh/cpu/sh3/watchdog.c

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * (C) Copyright 2010
 
3
 * Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
 
4
 *
 
5
 * (C) Copyright 2007
 
6
 * Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
 
7
 *
 
8
 * SPDX-License-Identifier:     GPL-2.0+
 
9
 */
 
10
 
 
11
#include <common.h>
 
12
#include <asm/processor.h>
 
13
#include <asm/system.h>
 
14
 
 
15
int watchdog_init(void)
 
16
{
 
17
        return 0;
 
18
}
 
19
 
 
20
void reset_cpu(unsigned long ignored)
 
21
{
 
22
        /* Address error with SR.BL=1 first. */
 
23
        trigger_address_error();
 
24
 
 
25
        while (1)
 
26
                ;
 
27
}