u-boot/arch/arm/cpu/pxa/timer.c

19 lines
285 B
C
Raw Normal View History

2002-10-11 07:57:01 +00:00
/*
* Marvell PXA2xx/3xx timer driver
2002-10-11 07:57:01 +00:00
*
* Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
2002-10-11 07:57:01 +00:00
*
* SPDX-License-Identifier: GPL-2.0+
2002-10-11 07:57:01 +00:00
*/
#include <common.h>
#include <asm/io.h>
2002-10-11 07:57:01 +00:00
DECLARE_GLOBAL_DATA_PTR;
int timer_init(void)
2002-10-11 07:57:01 +00:00
{
writel(0, CONFIG_SYS_TIMER_COUNTER);
return 0;
2002-10-11 07:57:01 +00:00
}