diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2011-09-13 23:39:11 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2011-09-13 23:39:11 +0000 |
commit | c36d33ce59f8f1e76ac00bdd5ca21c55b630f015 (patch) | |
tree | 713fdcc55ecb30a4b99a750c4486e3cb1bffbe40 /firmware/target | |
parent | af9d25611d8493ef349e80f06cc49d2cb814540b (diff) | |
download | rockbox-c36d33ce59f8f1e76ac00bdd5ca21c55b630f015.tar.gz rockbox-c36d33ce59f8f1e76ac00bdd5ca21c55b630f015.zip |
imx233/fuze+: correctly reset timrot block
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30529 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/imx233/timrot-imx233.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/timrot-imx233.c b/firmware/target/arm/imx233/timrot-imx233.c index b2a1181ece..0790d6255b 100644 --- a/firmware/target/arm/imx233/timrot-imx233.c +++ b/firmware/target/arm/imx233/timrot-imx233.c @@ -73,8 +73,7 @@ void imx233_setup_timer(unsigned timer_nr, bool reload, unsigned count, void imx233_timrot_init(void) { - __REG_CLR(HW_TIMROT_ROTCTRL) = __BLOCK_CLKGATE; - __REG_CLR(HW_TIMROT_ROTCTRL) = __BLOCK_SFTRST; + imx233_reset_block(&HW_TIMROT_ROTCTRL); /* enable xtal path to timrot */ imx233_enable_timrot_xtal_clk32k(true); } |