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/mpc86xx | |
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/mpc86xx')
-rw-r--r-- | arch/powerpc/cpu/mpc86xx/cpu.c | 1 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc86xx/interrupts.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc86xx/cpu.c b/arch/powerpc/cpu/mpc86xx/cpu.c index bb14444a2e..97b93f0213 100644 --- a/arch/powerpc/cpu/mpc86xx/cpu.c +++ b/arch/powerpc/cpu/mpc86xx/cpu.c @@ -7,6 +7,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/mpc86xx/interrupts.c b/arch/powerpc/cpu/mpc86xx/interrupts.c index 0f930fcd9e..eb8e73e41c 100644 --- a/arch/powerpc/cpu/mpc86xx/interrupts.c +++ b/arch/powerpc/cpu/mpc86xx/interrupts.c @@ -18,6 +18,7 @@ #include <irq_func.h> #include <mpc86xx.h> #include <command.h> +#include <time.h> #include <asm/processor.h> #ifdef CONFIG_POST #include <post.h> |