summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm920t/imx/timer.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:45:01 -0700
committerJagan Teki <jagan@amarulasolutions.com>2020-01-24 23:06:49 +0530
commit657afb14a0a96bd00177652d5510b3d5fb0327d5 (patch)
treeab41a5033dc6dff39dba9318a80e3545f716e78f /arch/arm/cpu/arm920t/imx/timer.c
parent6321c66cdf73f1d0318b02bfe747acf2f6bbb398 (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/timer.c')
-rw-r--r--arch/arm/cpu/arm920t/imx/timer.c3
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;