aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/arm/mach-socfpga/include/mach/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/arm/mach-socfpga/include/mach/timer.h')
-rw-r--r--roms/u-boot/arch/arm/mach-socfpga/include/mach/timer.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/mach-socfpga/include/mach/timer.h b/roms/u-boot/arch/arm/mach-socfpga/include/mach/timer.h
new file mode 100644
index 000000000..82596e412
--- /dev/null
+++ b/roms/u-boot/arch/arm/mach-socfpga/include/mach/timer.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2012 Altera Corporation <www.altera.com>
+ */
+
+#ifndef _SOCFPGA_TIMER_H_
+#define _SOCFPGA_TIMER_H_
+
+struct socfpga_timer {
+ u32 load_val;
+ u32 curr_val;
+ u32 ctrl;
+ u32 eoi;
+ u32 int_stat;
+};
+
+#endif