summaryrefslogtreecommitdiffstats
path: root/firmware/timer.c
diff options
context:
space:
mode:
authorWill Robertson <aliask@rockbox.org>2007-09-22 02:17:08 +0000
committerWill Robertson <aliask@rockbox.org>2007-09-22 02:17:08 +0000
commit26a05afe10b123788c8a32fbc92c7d80b1206f08 (patch)
tree2c5e8971f2b620a026fbafc2bf23d0fc5bac3863 /firmware/timer.c
parent729388f741ba4fa6ba947c863d93885e8205c41a (diff)
downloadrockbox-26a05afe10b123788c8a32fbc92c7d80b1206f08.tar.gz
rockbox-26a05afe10b123788c8a32fbc92c7d80b1206f08.tar.bz2
rockbox-26a05afe10b123788c8a32fbc92c7d80b1206f08.zip
A few minor cleanups for the Gigabeat S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14812 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/timer.c')
-rw-r--r--firmware/timer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/timer.c b/firmware/timer.c
index b86d4493a3..c08e8348d9 100644
--- a/firmware/timer.c
+++ b/firmware/timer.c
@@ -208,6 +208,8 @@ static bool timer_set(long cycles, bool start)
cycles_new = cycles;
return true;
+#elif (CONFIG_CPU == IMX31L)
+ /* TODO */
#else
return __TIMER_SET(cycles, start);
#endif /* CONFIG_CPU */
@@ -268,6 +270,8 @@ bool timer_register(int reg_prio, void (*unregister_callback)(void),
irq_set_int_handler(IRQ_TIMER1, TIMER1_ISR);
irq_enable_int(IRQ_TIMER1);
return true;
+#elif CONFIG_CPU == IMX31L
+ /* TODO */
#else
return __TIMER_REGISTER(reg_prio, unregister_callback, cycles,
int_prio, timer_callback);