From 7b97fe21c0f2c9b6742ad50439020023f385fe6c Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Thu, 20 Sep 2007 04:46:41 +0000 Subject: Beginning of an M:Robe 500i port. Currently only in the bootloader stage. Needs another piece of code to start the boot process - will be in the wiki. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14763 a1c6a512-1295-4272-9138-f99709370657 --- firmware/timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/timer.c') diff --git a/firmware/timer.c b/firmware/timer.c index 1ac16b6..b86d449 100644 --- a/firmware/timer.c +++ b/firmware/timer.c @@ -208,7 +208,7 @@ static bool timer_set(long cycles, bool start) cycles_new = cycles; return true; -#elif CONFIG_CPU == S3C2440 +#else return __TIMER_SET(cycles, start); #endif /* CONFIG_CPU */ } @@ -268,7 +268,7 @@ 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 == S3C2440 +#else return __TIMER_REGISTER(reg_prio, unregister_callback, cycles, int_prio, timer_callback); #endif -- cgit v1.1