From 98c338bcb66bc1f844d4d9523d786eb1db17d036 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 28 Dec 2019 10:44:59 -0700 Subject: 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 --- include/common.h | 1 - include/time.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/common.h b/include/common.h index cc3d212a3d0..1d85e5a68c9 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 71446c31714..e99f9c80127 100644 --- a/include/time.h +++ b/include/time.h @@ -6,6 +6,8 @@ #include #include +ulong get_tbclk(void); + unsigned long get_timer(unsigned long base); /* -- cgit v1.2.3