diff options
| author | Marek Vasut <marek.vasut@gmail.com> | 2012-02-27 13:59:47 +0100 | 
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-03-26 23:09:23 +0200 | 
| commit | 30a14ea2b1a4cf39095385a5a38c5bbc67c6b693 (patch) | |
| tree | 7c1009778228ebdaf52e707fa22db3524a43b883 /arch/arm/cpu/pxa/timer.c | |
| parent | 60994b99b6203ffd1e28140f4f7fcaa117c88901 (diff) | |
| download | olio-uboot-2014.01-30a14ea2b1a4cf39095385a5a38c5bbc67c6b693.tar.xz olio-uboot-2014.01-30a14ea2b1a4cf39095385a5a38c5bbc67c6b693.zip | |
PXA: Fix missing get_tbclk() breaking vpac boards
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'arch/arm/cpu/pxa/timer.c')
| -rw-r--r-- | arch/arm/cpu/pxa/timer.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/arch/arm/cpu/pxa/timer.c b/arch/arm/cpu/pxa/timer.c index b7b0da98a..a8f7462c1 100644 --- a/arch/arm/cpu/pxa/timer.c +++ b/arch/arm/cpu/pxa/timer.c @@ -94,3 +94,8 @@ void __udelay(unsigned long usec)  	while (get_ticks() < tmp)	/* loop till event */  		 /*NOP*/;  } + +ulong get_tbclk(void) +{ +	return TIMER_FREQ_HZ; +} |