2018-05-07 06:58:06 +09:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2002-10-11 16:57:01 +09:00
|
|
|
/*
|
2011-11-26 18:02:41 +09:00
|
|
|
* Marvell PXA2xx/3xx timer driver
|
2002-10-11 16:57:01 +09:00
|
|
|
*
|
2011-11-26 18:02:41 +09:00
|
|
|
* Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
|
2002-10-11 16:57:01 +09:00
|
|
|
*/
|
|
|
|
|
2010-09-09 16:50:39 +09:00
|
|
|
#include <common.h>
|
2020-05-11 02:40:02 +09:00
|
|
|
#include <init.h>
|
2015-08-16 11:16:26 +09:00
|
|
|
#include <asm/io.h>
|
2002-10-11 16:57:01 +09:00
|
|
|
|
2011-11-26 18:02:41 +09:00
|
|
|
int timer_init(void)
|
2002-10-11 16:57:01 +09:00
|
|
|
{
|
2015-08-13 03:18:31 +09:00
|
|
|
writel(0, CONFIG_SYS_TIMER_COUNTER);
|
2009-05-16 06:47:02 +09:00
|
|
|
return 0;
|
2002-10-11 16:57:01 +09:00
|
|
|
}
|