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 Denkbd8ec7e2013-10-07 13:07:26 +020010 * SPDX-License-Identifier: GPL-2.0+
wdenkc6097192002-11-03 00:24:07 +000011 */
12
Allen Martin81d5b902012-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{
wdenk82db02f2004-07-11 22:19:26 +000018}
Andreas Engel2d4b2532008-01-14 09:06:52 +000019#endif
wdenk82db02f2004-07-11 22:19:26 +000020
Marek Vasut16f6acd2012-10-03 08:54:12 +000021#if defined(CONFIG_TEGRA)
Wolfgang Denk88bd7432005-10-09 00:22:48 +020022static ulong timestamp;
23static ulong lastdec;
24
Jean-Christophe PLAGNIOL-VILLARD8c9fc002009-05-15 23:47:02 +020025int timer_init (void)
26{
Allen Martine60ab6e2012-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 Vasut16f6acd2012-10-03 08:54:12 +000031 return 0;
wdenkc6097192002-11-03 00:24:07 +000032}
wdenkf2140d52004-07-01 16:30:44 +000033#endif