blob: 7a41f0b12d8672e2b503b489521e57b73533b7c9 [file] [log] [blame]
wdenk7eaacc52003-08-29 22:00:43 +00001/*
wdenke97d3d92004-02-23 22:22:28 +00002 * (C) Copyright 2003
3 * Texas Instruments <www.ti.com>
4 *
wdenk7eaacc52003-08-29 22:00:43 +00005 * (C) Copyright 2002
6 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
7 * Marius Groeger <mgroeger@sysgo.de>
8 *
9 * (C) Copyright 2002
10 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
11 * Alex Zuepke <azu@sysgo.de>
12 *
wdenk4989f872004-03-14 15:06:13 +000013 * (C) Copyright 2002-2004
wdenk7eaacc52003-08-29 22:00:43 +000014 * Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
15 *
wdenk4989f872004-03-14 15:06:13 +000016 * (C) Copyright 2004
17 * Philippe Robin, ARM Ltd. <philippe.robin@arm.com>
18 *
wdenk7eaacc52003-08-29 22:00:43 +000019 * See file CREDITS for list of people who contributed to this
20 * project.
21 *
22 * This program is free software; you can redistribute it and/or
23 * modify it under the terms of the GNU General Public License as
24 * published by the Free Software Foundation; either version 2 of
25 * the License, or (at your option) any later version.
26 *
27 * This program is distributed in the hope that it will be useful,
28 * but WITHOUT ANY WARRANTY; without even the implied warranty of
wdenk7af1f9d2005-04-04 12:08:28 +000029 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
wdenk7eaacc52003-08-29 22:00:43 +000030 * GNU General Public License for more details.
31 *
32 * You should have received a copy of the GNU General Public License
33 * along with this program; if not, write to the Free Software
34 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
35 * MA 02111-1307 USA
36 */
37
38#include <common.h>
Wolfgang Denkadf20a12005-09-25 01:48:28 +020039#include <arm926ejs.h>
wdenk7eaacc52003-08-29 22:00:43 +000040
Stelian Pop6bf2de22008-03-26 21:52:27 +010041#ifdef CONFIG_INTEGRATOR
Wolfgang Denkadf20a12005-09-25 01:48:28 +020042
43 /* Timer functionality supplied by Integrator board (AP or CP) */
44
45#else
46
wdenk7eaacc52003-08-29 22:00:43 +000047/* nothing really to do with interrupts, just starts up a counter. */
48int interrupt_init (void)
49{
Wolfgang Denkd86ec382006-03-13 12:37:35 +010050 extern void timer_init(void);
wdenk7eaacc52003-08-29 22:00:43 +000051
Wolfgang Denka1be4762008-05-20 16:00:29 +020052 timer_init();
wdenk7eaacc52003-08-29 22:00:43 +000053
Wolfgang Denkd86ec382006-03-13 12:37:35 +010054 return 0;
wdenk7eaacc52003-08-29 22:00:43 +000055}
Wolfgang Denkadf20a12005-09-25 01:48:28 +020056
57#endif /* CONFIG_INTEGRATOR */