2003-08-29 22:00:43 +00:00
|
|
|
/*
|
2004-02-23 22:22:28 +00:00
|
|
|
* (C) Copyright 2003
|
|
|
|
* Texas Instruments <www.ti.com>
|
|
|
|
*
|
2003-08-29 22:00:43 +00:00
|
|
|
* (C) Copyright 2002
|
|
|
|
* Sysgo Real-Time Solutions, GmbH <www.elinos.com>
|
|
|
|
* Marius Groeger <mgroeger@sysgo.de>
|
|
|
|
*
|
|
|
|
* (C) Copyright 2002
|
|
|
|
* Sysgo Real-Time Solutions, GmbH <www.elinos.com>
|
|
|
|
* Alex Zuepke <azu@sysgo.de>
|
|
|
|
*
|
2004-03-14 15:06:13 +00:00
|
|
|
* (C) Copyright 2002-2004
|
2003-08-29 22:00:43 +00:00
|
|
|
* Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
|
|
|
|
*
|
2004-03-14 15:06:13 +00:00
|
|
|
* (C) Copyright 2004
|
|
|
|
* Philippe Robin, ARM Ltd. <philippe.robin@arm.com>
|
|
|
|
*
|
2003-08-29 22:00:43 +00:00
|
|
|
* See file CREDITS for list of people who contributed to this
|
|
|
|
* project.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of
|
|
|
|
* the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2005-04-04 12:08:28 +00:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2003-08-29 22:00:43 +00:00
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
2005-09-24 23:48:28 +00:00
|
|
|
#include <arm926ejs.h>
|
2003-08-29 22:00:43 +00:00
|
|
|
|
2008-03-26 20:52:27 +00:00
|
|
|
#ifdef CONFIG_INTEGRATOR
|
2005-09-24 23:48:28 +00:00
|
|
|
|
|
|
|
/* Timer functionality supplied by Integrator board (AP or CP) */
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
2003-08-29 22:00:43 +00:00
|
|
|
/* nothing really to do with interrupts, just starts up a counter. */
|
|
|
|
int interrupt_init (void)
|
|
|
|
{
|
2006-03-13 11:37:35 +00:00
|
|
|
extern void timer_init(void);
|
2003-08-29 22:00:43 +00:00
|
|
|
|
2008-05-20 14:00:29 +00:00
|
|
|
timer_init();
|
2003-08-29 22:00:43 +00:00
|
|
|
|
2006-03-13 11:37:35 +00:00
|
|
|
return 0;
|
2003-08-29 22:00:43 +00:00
|
|
|
}
|
2005-09-24 23:48:28 +00:00
|
|
|
|
|
|
|
#endif /* CONFIG_INTEGRATOR */
|