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