blob: e8ba1ae09ef600360164f728e1cdaab1bc17f940 [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 *
Wolfgang Denk3765b3e2013-10-07 13:07:26 +020010 * SPDX-License-Identifier: GPL-2.0+
wdenkc6097192002-11-03 00:24:07 +000011 */
12
Allen Martind598e0f2012-10-29 10:47:43 +000013#include <common.h>
14
wdenkc6097192002-11-03 00:24:07 +000015#ifdef CONFIG_USE_IRQ
wdenkc6097192002-11-03 00:24:07 +000016void do_irq (struct pt_regs *pt_regs)
17{
wdenkc6097192002-11-03 00:24:07 +000018}
Andreas Engel6d0943a2008-01-14 09:06:52 +000019#endif
wdenka1f4a3d2004-07-11 22:19:26 +000020
Marek Vasuta63dd622012-10-03 08:54:12 +000021#if defined(CONFIG_TEGRA)
Wolfgang Denk96782c62005-10-09 00:22:48 +020022static ulong timestamp;
23static ulong lastdec;
24
Jean-Christophe PLAGNIOL-VILLARDb54384e2009-05-15 23:47:02 +020025int timer_init (void)
26{
Allen Martinc037c932012-08-31 08:30:09 +000027 /* No timer routines for tegra as yet */
28 lastdec = 0;
wdenkc6097192002-11-03 00:24:07 +000029 timestamp = 0;
30
Marek Vasuta63dd622012-10-03 08:54:12 +000031 return 0;
wdenkc6097192002-11-03 00:24:07 +000032}
wdenk39539882004-07-01 16:30:44 +000033#endif