blob: 623a24b65175cfda34afd305ff1858dfb95f90ba [file] [log] [blame]
wdenkc6097192002-11-03 00:24:07 +00001/*
2 * (C) Copyright 2002
3 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
4 * Marius Groeger <mgroeger@sysgo.de>
5 *
6 * (C) Copyright 2002
7 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
8 * Alex Zuepke <azu@sysgo.de>
9 *
10 * See file CREDITS for list of people who contributed to this
11 * project.
12 *
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License as
15 * published by the Free Software Foundation; either version 2 of
16 * the License, or (at your option) any later version.
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
wdenkcd0a9de2004-02-23 20:48:38 +000020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
wdenkc6097192002-11-03 00:24:07 +000021 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
26 * MA 02111-1307 USA
27 */
28
Allen Martind598e0f2012-10-29 10:47:43 +000029#include <common.h>
30
wdenkc6097192002-11-03 00:24:07 +000031#ifdef CONFIG_USE_IRQ
wdenkc6097192002-11-03 00:24:07 +000032void do_irq (struct pt_regs *pt_regs)
33{
wdenkc6097192002-11-03 00:24:07 +000034}
Andreas Engel6d0943a2008-01-14 09:06:52 +000035#endif
wdenka1f4a3d2004-07-11 22:19:26 +000036
Marek Vasuta63dd622012-10-03 08:54:12 +000037#if defined(CONFIG_TEGRA)
Wolfgang Denk96782c62005-10-09 00:22:48 +020038static ulong timestamp;
39static ulong lastdec;
40
Jean-Christophe PLAGNIOL-VILLARDb54384e2009-05-15 23:47:02 +020041int timer_init (void)
42{
Allen Martinc037c932012-08-31 08:30:09 +000043 /* No timer routines for tegra as yet */
44 lastdec = 0;
wdenkc6097192002-11-03 00:24:07 +000045 timestamp = 0;
46
Marek Vasuta63dd622012-10-03 08:54:12 +000047 return 0;
wdenkc6097192002-11-03 00:24:07 +000048}
wdenk39539882004-07-01 16:30:44 +000049#endif