diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:45:01 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 14:02:31 -0500 |
commit | 9a3b4ceb37989263e9280644912d269386b99bb7 (patch) | |
tree | 9b71bdce3ce7d4e3e7173537601044584cb6e255 /arch/arm/cpu/arm920t | |
parent | 9101a5ec4a6cbcb50e037fb7287ad4e73b2d625d (diff) | |
download | u-boot-9a3b4ceb37989263e9280644912d269386b99bb7.tar.gz |
common: Move reset_cpu() to the CPU header
Move this function out of common.h and into a relevant header file.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/cpu/arm920t')
-rw-r--r-- | arch/arm/cpu/arm920t/ep93xx/cpu.c | 1 | ||||
-rw-r--r-- | arch/arm/cpu/arm920t/imx/timer.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm920t/ep93xx/cpu.c b/arch/arm/cpu/arm920t/ep93xx/cpu.c index 3aae12f8ad..c9ea4e46a8 100644 --- a/arch/arm/cpu/arm920t/ep93xx/cpu.c +++ b/arch/arm/cpu/arm920t/ep93xx/cpu.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <asm/arch/ep93xx.h> #include <asm/io.h> diff --git a/arch/arm/cpu/arm920t/imx/timer.c b/arch/arm/cpu/arm920t/imx/timer.c index 403cd8ae57..21129a7901 100644 --- a/arch/arm/cpu/arm920t/imx/timer.c +++ b/arch/arm/cpu/arm920t/imx/timer.c @@ -13,6 +13,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <time.h> #if defined (CONFIG_IMX) @@ -79,7 +80,7 @@ ulong get_tbclk(void) /* * Reset the cpu by setting up the watchdog timer and let him time out */ -void reset_cpu (ulong ignored) +void reset_cpu(ulong ignored) { /* Disable watchdog and set Time-Out field to 0 */ WCR = 0x00000000; |