diff options
| author | Karl Kurbjun <kkurbjun@gmail.com> | 2007-09-20 04:46:41 +0000 |
|---|---|---|
| committer | Karl Kurbjun <kkurbjun@gmail.com> | 2007-09-20 04:46:41 +0000 |
| commit | 7b97fe21c0f2c9b6742ad50439020023f385fe6c (patch) | |
| tree | 2c1a7312c3373b32e7dbc8a03d76c83dc9c12ce0 /firmware/timer.c | |
| parent | a80c0e8b83eb52a322c2b33e49875159c6d6a12a (diff) | |
| download | rockbox-7b97fe21c0f2c9b6742ad50439020023f385fe6c.zip rockbox-7b97fe21c0f2c9b6742ad50439020023f385fe6c.tar.gz rockbox-7b97fe21c0f2c9b6742ad50439020023f385fe6c.tar.bz2 rockbox-7b97fe21c0f2c9b6742ad50439020023f385fe6c.tar.xz | |
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
Diffstat (limited to 'firmware/timer.c')
| -rw-r--r-- | firmware/timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |