blob: 11fefd54992c9f7dab3b37aae61bea8130f12d45 [file] [log] [blame]
wdenk32fe2872002-10-11 07:57:01 +00001/*
Marek Vasutd1bb9442011-11-26 10:02:41 +01002 * Marvell PXA2xx/3xx timer driver
wdenk32fe2872002-10-11 07:57:01 +00003 *
Marek Vasutd1bb9442011-11-26 10:02:41 +01004 * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
wdenk32fe2872002-10-11 07:57:01 +00005 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02006 * SPDX-License-Identifier: GPL-2.0+
wdenk32fe2872002-10-11 07:57:01 +00007 */
8
Marek Vasut3ba8bf72010-09-09 09:50:39 +02009#include <asm/io.h>
10#include <common.h>
wdenk32fe2872002-10-11 07:57:01 +000011
Marek Vasutd1bb9442011-11-26 10:02:41 +010012DECLARE_GLOBAL_DATA_PTR;
13
Marek Vasutd1bb9442011-11-26 10:02:41 +010014int timer_init(void)
wdenk32fe2872002-10-11 07:57:01 +000015{
Andrew Ruder7d211fe2015-08-12 13:18:31 -050016 writel(0, CONFIG_SYS_TIMER_COUNTER);
Jean-Christophe PLAGNIOL-VILLARDb54384e2009-05-15 23:47:02 +020017 return 0;
wdenk32fe2872002-10-11 07:57:01 +000018}