blob: 1819f6b0787963ab3309be2c9992d8b0bbdaf03c [file] [log] [blame]
wdenk6f213472003-08-29 22:00:43 +00001/*
wdenk63e73c92004-02-23 22:22:28 +00002 * (C) Copyright 2003
3 * Texas Instruments <www.ti.com>
4 *
wdenk6f213472003-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 *
wdenk3d3befa2004-03-14 15:06:13 +000013 * (C) Copyright 2002-2004
wdenk6f213472003-08-29 22:00:43 +000014 * Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
15 *
wdenk3d3befa2004-03-14 15:06:13 +000016 * (C) Copyright 2004
17 * Philippe Robin, ARM Ltd. <philippe.robin@arm.com>
18 *
wdenk6f213472003-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
wdenk101e8df2005-04-04 12:08:28 +000029 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
wdenk6f213472003-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 Denk74f43042005-09-25 01:48:28 +020039#include <arm926ejs.h>
wdenk6f213472003-08-29 22:00:43 +000040
Stelian Pop61106a52008-03-26 21:52:27 +010041#ifdef CONFIG_INTEGRATOR
Wolfgang Denk74f43042005-09-25 01:48:28 +020042
43 /* Timer functionality supplied by Integrator board (AP or CP) */
44
45#else
46
wdenk6f213472003-08-29 22:00:43 +000047/* nothing really to do with interrupts, just starts up a counter. */
48int interrupt_init (void)
49{
Wolfgang Denkff7fefe2006-03-13 12:37:35 +010050 extern void timer_init(void);
wdenk6f213472003-08-29 22:00:43 +000051
Wolfgang Denkff7fefe2006-03-13 12:37:35 +010052 timer_init();
Wolfgang Denk74f43042005-09-25 01:48:28 +020053
Wolfgang Denkff7fefe2006-03-13 12:37:35 +010054 return 0;
wdenk6f213472003-08-29 22:00:43 +000055}
Wolfgang Denk74f43042005-09-25 01:48:28 +020056
57#endif /* CONFIG_INTEGRATOR */