diff options
Diffstat (limited to 'arch/arm/cpu/arm920t/imx/timer.c')
-rw-r--r-- | arch/arm/cpu/arm920t/imx/timer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/cpu/arm920t/imx/timer.c b/arch/arm/cpu/arm920t/imx/timer.c index 17081ddb6d..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) @@ -71,7 +72,7 @@ unsigned long long get_ticks(void) * This function is derived from PowerPC code (timebase clock frequency). * On ARM it returns the number of timer ticks per second. */ -ulong get_tbclk (void) +ulong get_tbclk(void) { return CONFIG_SYS_HZ; } @@ -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; |