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/powerpc/cpu/mpc8xx | |
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/powerpc/cpu/mpc8xx')
-rw-r--r-- | arch/powerpc/cpu/mpc8xx/cpu.c | 1 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc8xx/fdt.c | 1 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc8xx/interrupts.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc8xx/cpu.c b/arch/powerpc/cpu/mpc8xx/cpu.c index 0604433e726..4a1698d3bca 100644 --- a/arch/powerpc/cpu/mpc8xx/cpu.c +++ b/arch/powerpc/cpu/mpc8xx/cpu.c @@ -18,6 +18,7 @@ #include <common.h> #include <cpu_func.h> +#include <time.h> #include <vsprintf.h> #include <watchdog.h> #include <command.h> diff --git a/arch/powerpc/cpu/mpc8xx/fdt.c b/arch/powerpc/cpu/mpc8xx/fdt.c index 55c6588249c..4719de4d72c 100644 --- a/arch/powerpc/cpu/mpc8xx/fdt.c +++ b/arch/powerpc/cpu/mpc8xx/fdt.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <time.h> #include <linux/libfdt.h> #include <fdt_support.h> diff --git a/arch/powerpc/cpu/mpc8xx/interrupts.c b/arch/powerpc/cpu/mpc8xx/interrupts.c index 6ee6088fa8a..3efe8956ec5 100644 --- a/arch/powerpc/cpu/mpc8xx/interrupts.c +++ b/arch/powerpc/cpu/mpc8xx/interrupts.c @@ -8,6 +8,7 @@ #include <irq_func.h> #include <mpc8xx.h> #include <mpc8xx_irq.h> +#include <time.h> #include <asm/cpm_8xx.h> #include <asm/processor.h> #include <asm/io.h> |