blob: 169fed808ba89b7fbda2ebc22fb39b03f0cc01a9 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
wdenk32fe2872002-10-11 07:57:01 +00002/*
Marek Vasutd1bb9442011-11-26 10:02:41 +01003 * Marvell PXA2xx/3xx timer driver
wdenk32fe2872002-10-11 07:57:01 +00004 *
Marek Vasutd1bb9442011-11-26 10:02:41 +01005 * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
wdenk32fe2872002-10-11 07:57:01 +00006 */
7
Marek Vasut3ba8bf72010-09-09 09:50:39 +02008#include <common.h>
Marcel Ziswiler67b855f2015-08-16 04:16:26 +02009#include <asm/io.h>
wdenk32fe2872002-10-11 07:57:01 +000010
Marek Vasutd1bb9442011-11-26 10:02:41 +010011int timer_init(void)
wdenk32fe2872002-10-11 07:57:01 +000012{
Andrew Ruder7d211fe2015-08-12 13:18:31 -050013 writel(0, CONFIG_SYS_TIMER_COUNTER);
Jean-Christophe PLAGNIOL-VILLARDb54384e2009-05-15 23:47:02 +020014 return 0;
wdenk32fe2872002-10-11 07:57:01 +000015}