[PATCH] beagle bsp: delete TIMER_FREQ, TIMER_COUNT

Gedare Bloom gedare at gwu.edu
Sat Mar 14 19:08:59 UTC 2015


OK to commit.

On Sat, Mar 14, 2015 at 1:45 PM, Ben Gras <beng at shrike-systems.com> wrote:
> unused and poorly named (no prefix) and colliding with sp68.
>
> Closes #2302.
> ---
>  c/src/lib/libbsp/arm/beagle/include/bsp.h | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/c/src/lib/libbsp/arm/beagle/include/bsp.h b/c/src/lib/libbsp/arm/beagle/include/bsp.h
> index e235efa..0e7a5ff 100644
> --- a/c/src/lib/libbsp/arm/beagle/include/bsp.h
> +++ b/c/src/lib/libbsp/arm/beagle/include/bsp.h
> @@ -114,10 +114,6 @@ static inline void flush_data_cache(void)
>      asm volatile("mov r0, #0; mcr p15, #0, r0, c7, c10, #4" : : : "memory");
>  }
>
> -
> -#define TIMER_FREQ  1000    /* clock frequency for OMAP timer (1ms) */
> -#define TIMER_COUNT(freq) (TIMER_FREQ/(freq)) /* initial value for counter*/
> -
>  #define __arch_getb(a)      (*(volatile unsigned char *)(a))
>  #define __arch_getw(a)      (*(volatile unsigned short *)(a))
>  #define __arch_getl(a)      (*(volatile unsigned int *)(a))
> --
> 1.9.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel



More information about the devel mailing list