xref: /openbmc/u-boot/arch/arm/cpu/pxa/timer.c (revision baefb63a)
1 /*
2  * Marvell PXA2xx/3xx timer driver
3  *
4  * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
5  *
6  * SPDX-License-Identifier:	GPL-2.0+
7  */
8 
9 #include <common.h>
10 #include <asm/io.h>
11 
12 DECLARE_GLOBAL_DATA_PTR;
13 
14 int timer_init(void)
15 {
16 	writel(0, CONFIG_SYS_TIMER_COUNTER);
17 	return 0;
18 }
19