[PATCH] beagle bsp: delete TIMER_FREQ, TIMER_COUNT

Ben Gras beng at shrike-systems.com
Sat Mar 14 17:45:42 UTC 2015


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



More information about the devel mailing list