summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/kernel-imx233.c
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-09-06 00:27:38 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-09-06 00:27:38 +0000
commit2ac668e44cec12616a4d675f8eade8049ed10af9 (patch)
tree946451d3ef42a2e1f7c3259b81344ffb82ce041b /firmware/target/arm/imx233/kernel-imx233.c
parent333b9ed2c330bb005456444de0eb16ad422496fa (diff)
downloadrockbox-2ac668e44cec12616a4d675f8eade8049ed10af9.tar.gz
rockbox-2ac668e44cec12616a4d675f8eade8049ed10af9.tar.bz2
rockbox-2ac668e44cec12616a4d675f8eade8049ed10af9.zip
imx233/fuze+: implement user time api, implement a stub function, protect timrot against irq
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30437 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx233/kernel-imx233.c')
-rw-r--r--firmware/target/arm/imx233/kernel-imx233.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/kernel-imx233.c b/firmware/target/arm/imx233/kernel-imx233.c
index 367f359dc0..edb9b8366c 100644
--- a/firmware/target/arm/imx233/kernel-imx233.c
+++ b/firmware/target/arm/imx233/kernel-imx233.c
@@ -31,7 +31,7 @@ static void tick_timer(void)
void tick_start(unsigned int interval_in_ms)
{
/* use the 1-kHz XTAL clock source */
- imx233_setup_timer(0, true, interval_in_ms,
+ imx233_setup_timer(TICK_TIMER_NR, true, interval_in_ms,
HW_TIMROT_TIMCTRL__SELECT_1KHZ_XTAL, HW_TIMROT_TIMCTRL__PRESCALE_1,
false, &tick_timer);
}