diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2014-05-08 18:52:37 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2014-05-08 21:05:39 +0200 |
commit | 4148b3d0dd62c71c13545d3c5374d015c23b544b (patch) | |
tree | 2eb311afe8436db7ba2c2ec2083402a192bcd004 /arch/sparc/cpu/leon3 | |
parent | 1c1c7506de1051df6d81c51a06a57be6406b534c (diff) | |
download | u-boot-imx-4148b3d0dd62c71c13545d3c5374d015c23b544b.zip u-boot-imx-4148b3d0dd62c71c13545d3c5374d015c23b544b.tar.gz u-boot-imx-4148b3d0dd62c71c13545d3c5374d015c23b544b.tar.bz2 |
leon: implement missing get_tbclk()
Without this patch SPARC/LEON does not build.
Reported-by: Tom Rini <trini@ti.com>
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Diffstat (limited to 'arch/sparc/cpu/leon3')
-rw-r--r-- | arch/sparc/cpu/leon3/cpu_init.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sparc/cpu/leon3/cpu_init.c b/arch/sparc/cpu/leon3/cpu_init.c index 57ffa96..2f41d88 100644 --- a/arch/sparc/cpu/leon3/cpu_init.c +++ b/arch/sparc/cpu/leon3/cpu_init.c @@ -222,6 +222,11 @@ int timer_interrupt_init_cpu(void) return gptimer_irq; } +ulong get_tbclk(void) +{ + return TIMER_BASE_CLK; +} + /* * This function is intended for SHORT delays only. */ |