blob: e8ba1ae09ef600360164f728e1cdaab1bc17f940 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
* (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>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#ifdef CONFIG_USE_IRQ
void do_irq (struct pt_regs *pt_regs)
{
}
#endif
#if defined(CONFIG_TEGRA)
static ulong timestamp;
static ulong lastdec;
int timer_init (void)
{
/* No timer routines for tegra as yet */
lastdec = 0;
timestamp = 0;
return 0;
}
#endif
|