summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/armada100/timer.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:45:01 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 14:02:31 -0500
commit9a3b4ceb37989263e9280644912d269386b99bb7 (patch)
tree9b71bdce3ce7d4e3e7173537601044584cb6e255 /arch/arm/cpu/arm926ejs/armada100/timer.c
parent9101a5ec4a6cbcb50e037fb7287ad4e73b2d625d (diff)
downloadu-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/arm926ejs/armada100/timer.c')
-rw-r--r--arch/arm/cpu/arm926ejs/armada100/timer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/armada100/timer.c b/arch/arm/cpu/arm926ejs/armada100/timer.c
index a11a4f3a5b..f4962ec45f 100644
--- a/arch/arm/cpu/arm926ejs/armada100/timer.c
+++ b/arch/arm/cpu/arm926ejs/armada100/timer.c
@@ -7,6 +7,7 @@
*/
#include <common.h>
+#include <cpu_func.h>
#include <time.h>
#include <asm/arch/cpu.h>
#include <asm/arch/armada100.h>
@@ -138,7 +139,7 @@ int timer_init(void)
* 2. Write key value to TMP_WSAR reg.
* 3. Perform write operation.
*/
-void reset_cpu (unsigned long ignored)
+void reset_cpu(unsigned long ignored)
{
struct armd1mpmu_registers *mpmu =
(struct armd1mpmu_registers *) ARMD1_MPMU_BASE;