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/imx | |
parent | 9101a5ec4a6cbcb50e037fb7287ad4e73b2d625d (diff) |
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/imx')
-rw-r--r-- | arch/arm/cpu/arm920t/imx/timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |