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/mach-zynqmp | |
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/mach-zynqmp')
-rw-r--r-- | arch/arm/mach-zynqmp/clk.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-zynqmp/cpu.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-zynqmp/clk.c b/arch/arm/mach-zynqmp/clk.c index 0593b6310f..db2b4a8be2 100644 --- a/arch/arm/mach-zynqmp/clk.c +++ b/arch/arm/mach-zynqmp/clk.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <time.h> #include <asm/arch/clk.h> #include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> diff --git a/arch/arm/mach-zynqmp/cpu.c b/arch/arm/mach-zynqmp/cpu.c index b90d08bbdd..442427bc11 100644 --- a/arch/arm/mach-zynqmp/cpu.c +++ b/arch/arm/mach-zynqmp/cpu.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <time.h> #include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> #include <asm/armv8/mmu.h> |