X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=arch%2Farm%2Fcpu%2Farm926ejs%2Farmada100%2Ftimer.c;h=0f1e68c8355f64c8303f2858562a3fdaf2cedf6c;hb=c27178ba3649f539c9f1890ea147f4c5415f63b5;hp=6c6948a8ef4cee45b12a58ee0452ed765df19601;hpb=a4ef0657e3075d0f951d78cc1398cb7e05af648a;p=oweals%2Fu-boot.git diff --git a/arch/arm/cpu/arm926ejs/armada100/timer.c b/arch/arm/cpu/arm926ejs/armada100/timer.c index 6c6948a8ef..0f1e68c835 100644 --- a/arch/arm/cpu/arm926ejs/armada100/timer.c +++ b/arch/arm/cpu/arm926ejs/armada100/timer.c @@ -7,9 +7,12 @@ */ #include +#include +#include #include #include #include +#include /* * Timer registers @@ -138,7 +141,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; @@ -188,7 +191,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 (ulong)CONFIG_SYS_HZ; }