2002-11-03 00:24:07 +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>
|
|
|
|
*
|
|
|
|
* 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
|
2004-02-23 20:48:38 +00:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2002-11-03 00:24:07 +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
|
|
|
|
*/
|
|
|
|
|
2012-10-29 10:47:43 +00:00
|
|
|
#include <common.h>
|
|
|
|
|
2002-11-03 00:24:07 +00:00
|
|
|
#ifdef CONFIG_USE_IRQ
|
|
|
|
void do_irq (struct pt_regs *pt_regs)
|
|
|
|
{
|
2004-07-11 22:19:26 +00:00
|
|
|
}
|
2008-01-14 09:06:52 +00:00
|
|
|
#endif
|
2004-07-11 22:19:26 +00:00
|
|
|
|
2012-10-03 08:54:12 +00:00
|
|
|
#if defined(CONFIG_TEGRA)
|
2005-10-08 22:22:48 +00:00
|
|
|
static ulong timestamp;
|
|
|
|
static ulong lastdec;
|
|
|
|
|
2009-05-15 21:47:02 +00:00
|
|
|
int timer_init (void)
|
|
|
|
{
|
2012-08-31 08:30:09 +00:00
|
|
|
/* No timer routines for tegra as yet */
|
|
|
|
lastdec = 0;
|
2002-11-03 00:24:07 +00:00
|
|
|
timestamp = 0;
|
|
|
|
|
2012-10-03 08:54:12 +00:00
|
|
|
return 0;
|
2002-11-03 00:24:07 +00:00
|
|
|
}
|
2004-07-01 16:30:44 +00:00
|
|
|
#endif
|