summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/timer-imx233.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-06-16 20:43:25 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-06-17 00:29:24 +0200
commitfbee03e0f0522abf9071a5762b50f2822f83c645 (patch)
tree30fcbc137f1c4767e696defe2f7cd0289f09acda /firmware/target/arm/imx233/timer-imx233.c
parentf1c6c712188f08e5202e2028bf051440f51a6cef (diff)
downloadrockbox-fbee03e0f0522abf9071a5762b50f2822f83c645.tar.gz
rockbox-fbee03e0f0522abf9071a5762b50f2822f83c645.tar.bz2
rockbox-fbee03e0f0522abf9071a5762b50f2822f83c645.zip
imx233: simplify timer code
Change-Id: I845c3f20c17ce6091ed02bc4fbfca176358d31b7
Diffstat (limited to 'firmware/target/arm/imx233/timer-imx233.c')
-rw-r--r--firmware/target/arm/imx233/timer-imx233.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/target/arm/imx233/timer-imx233.c b/firmware/target/arm/imx233/timer-imx233.c
index b3c3ad56e8..d356afc457 100644
--- a/firmware/target/arm/imx233/timer-imx233.c
+++ b/firmware/target/arm/imx233/timer-imx233.c
@@ -22,15 +22,7 @@
#include "timrot-imx233.h"
#include "timer.h"
-#ifdef SANSA_FUZEPLUS
#define USER_TIMER_NR 1
-#elif defined(CREATIVE_ZENXFI2)
-#define USER_TIMER_NR 1
-#elif defined(CREATIVE_ZENXFI3)
-#define USER_TIMER_NR 1
-#else
-#error Select user timer !
-#endif
static long timer_cycles = 0;