summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm720t/interrupts.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/arm720t/interrupts.c')
-rw-r--r--arch/arm/cpu/arm720t/interrupts.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm720t/interrupts.c b/arch/arm/cpu/arm720t/interrupts.c
new file mode 100644
index 00000000000..e3d0216158f
--- /dev/null
+++ b/arch/arm/cpu/arm720t/interrupts.c
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * (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>
+ */
+
+#include <linux/types.h>
+
+#if defined(CONFIG_ARCH_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