aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/arm/cpu/pxa/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/arm/cpu/pxa/timer.c')
-rw-r--r--roms/u-boot/arch/arm/cpu/pxa/timer.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/cpu/pxa/timer.c b/roms/u-boot/arch/arm/cpu/pxa/timer.c
new file mode 100644
index 000000000..8e9d61044
--- /dev/null
+++ b/roms/u-boot/arch/arm/cpu/pxa/timer.c
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Marvell PXA2xx/3xx timer driver
+ *
+ * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
+ */
+
+#include <common.h>
+#include <init.h>
+#include <asm/io.h>
+
+int timer_init(void)
+{
+ writel(0, CONFIG_SYS_TIMER_COUNTER);
+ return 0;
+}