summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/kernel-imx233.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-05-19 13:28:41 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2012-05-19 16:10:52 +0200
commit068443caaf101bccfa5ff44b44e6f98e6612b27f (patch)
tree174bc3b0099455a54e911a6315be4718ab094fb9 /firmware/target/arm/imx233/kernel-imx233.c
parent9ced006c06a4240cbd2a9ebe9196d9a0658810f9 (diff)
downloadrockbox-068443caaf101bccfa5ff44b44e6f98e6612b27f.tar.gz
rockbox-068443caaf101bccfa5ff44b44e6f98e6612b27f.tar.bz2
rockbox-068443caaf101bccfa5ff44b44e6f98e6612b27f.zip
imx233: move away timer defines from imx233.h
Change-Id: I9f721ae12a3ddf72c4e90ad0754a5c2b819847bb
Diffstat (limited to 'firmware/target/arm/imx233/kernel-imx233.c')
-rw-r--r--firmware/target/arm/imx233/kernel-imx233.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/kernel-imx233.c b/firmware/target/arm/imx233/kernel-imx233.c
index 752db68149..8e1e122277 100644
--- a/firmware/target/arm/imx233/kernel-imx233.c
+++ b/firmware/target/arm/imx233/kernel-imx233.c
@@ -23,6 +23,16 @@
#include "clkctrl-imx233.h"
#include "kernel-imx233.h"
+#ifdef SANSA_FUZEPLUS
+#define TICK_TIMER_NR 0
+#elif defined(CREATIVE_ZENXFI2)
+#define TICK_TIMER_NR 0
+#elif defined(CREATIVE_ZENXFI3)
+#define TICK_TIMER_NR 0
+#else
+#error Select tick timer !
+#endif
+
static void tick_timer(void)
{
/* Run through the list of tick tasks */