summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/include/mach/early_udelay.h
blob: 1c1b0123fee8a23a400a6e77ca3e17029e26340c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __EARLY_UDELAY_H__
#define __EARLY_UDELAY_H__

#include <linux/compiler.h>

/* requires PIT to be initialized, but not the clocksource framework */
void early_udelay(unsigned int usec);
void early_udelay_init(void __iomem *pmc_base,
		       void __iomem *pit_base,
		       unsigned int clock,
		       unsigned int master_clock_rate,
		       unsigned int flags);

#endif