blob: 8e9d610441ee85e463e4f1b9ee7ebc3e4038974e [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>
Simon Glass97589732020-05-10 11:40:02 -06009#include <init.h>
Marcel Ziswilerfe8ade02015-08-16 04:16:26 +020010#include <asm/io.h>
wdenk32fe2872002-10-11 07:57:01 +000011
Marek Vasutba2d9be2011-11-26 10:02:41 +010012int timer_init(void)
wdenk32fe2872002-10-11 07:57:01 +000013{
Andrew Ruderc2240902015-08-12 13:18:31 -050014 writel(0, CONFIG_SYS_TIMER_COUNTER);
Jean-Christophe PLAGNIOL-VILLARD8c9fc002009-05-15 23:47:02 +020015 return 0;
wdenk32fe2872002-10-11 07:57:01 +000016}