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