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>
|
|
|
|
*
|
2013-10-07 11:07:26 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2002-11-03 00:24:07 +00:00
|
|
|
*/
|
|
|
|
|
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
|