xref: /openbmc/u-boot/arch/arm/cpu/arm720t/interrupts.c (revision a79854a9)
1 /*
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  * SPDX-License-Identifier:	GPL-2.0+
11  */
12 
13 #include <common.h>
14 
15 #ifdef CONFIG_USE_IRQ
16 void do_irq (struct pt_regs *pt_regs)
17 {
18 }
19 #endif
20 
21 #if defined(CONFIG_TEGRA)
22 static ulong timestamp;
23 static ulong lastdec;
24 
25 int timer_init (void)
26 {
27 	/* No timer routines for tegra as yet */
28 	lastdec = 0;
29 	timestamp = 0;
30 
31 	return 0;
32 }
33 #endif
34