diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:44:59 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 13:27:30 -0500 |
commit | 049f8d6f4acc0eff71c9db5c3ca6276b56ce3357 (patch) | |
tree | 2154f2d48dc41af8358e9bb6597be90f479d11e5 /arch/arm/cpu/arm926ejs/armada100 | |
parent | d96c26040e901a1ab0264a105e61ee9dadbca701 (diff) |
common: Move get_tbclk() to time.h
This function related to timer and most of the timer functions are in
time.h, so move this function there.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/armada100')
-rw-r--r-- | arch/arm/cpu/arm926ejs/armada100/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/armada100/timer.c b/arch/arm/cpu/arm926ejs/armada100/timer.c index 6c6948a8ef..a11a4f3a5b 100644 --- a/arch/arm/cpu/arm926ejs/armada100/timer.c +++ b/arch/arm/cpu/arm926ejs/armada100/timer.c @@ -188,7 +188,7 @@ unsigned long long get_ticks(void) * This function is derived from PowerPC code (timebase clock frequency). * On ARM it returns the number of timer ticks per second. */ -ulong get_tbclk (void) +ulong get_tbclk(void) { return (ulong)CONFIG_SYS_HZ; } |