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