summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 20:44:59 +0300
committerTom Rini <trini@konsulko.com>2020-01-17 21:27:30 +0300
commit049f8d6f4acc0eff71c9db5c3ca6276b56ce3357 (patch)
tree2154f2d48dc41af8358e9bb6597be90f479d11e5 /include
parentd96c26040e901a1ab0264a105e61ee9dadbca701 (diff)
downloadu-boot-049f8d6f4acc0eff71c9db5c3ca6276b56ce3357.tar.xz
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 'include')
-rw-r--r--include/common.h1
-rw-r--r--include/time.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index cc3d212a3d..1d85e5a68c 100644
--- a/include/common.h
+++ b/include/common.h
@@ -74,7 +74,6 @@ phys_size_t get_effective_memsize(void);
int testdram(void);
#endif /* CONFIG_SYS_DRAM_TEST */
-ulong get_tbclk (void);
void reset_misc (void);
void reset_cpu (ulong addr);
diff --git a/include/time.h b/include/time.h
index 71446c3171..e99f9c8012 100644
--- a/include/time.h
+++ b/include/time.h
@@ -6,6 +6,8 @@
#include <linux/typecheck.h>
#include <linux/types.h>
+ulong get_tbclk(void);
+
unsigned long get_timer(unsigned long base);
/*