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 | |
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
-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, | |||
73 | 73 | ||
74 | void imx233_timrot_init(void) | 74 | void imx233_timrot_init(void) |
75 | { | 75 | { |
76 | __REG_CLR(HW_TIMROT_ROTCTRL) = __BLOCK_CLKGATE; | 76 | imx233_reset_block(&HW_TIMROT_ROTCTRL); |
77 | __REG_CLR(HW_TIMROT_ROTCTRL) = __BLOCK_SFTRST; | ||
78 | /* enable xtal path to timrot */ | 77 | /* enable xtal path to timrot */ |
79 | imx233_enable_timrot_xtal_clk32k(true); | 78 | imx233_enable_timrot_xtal_clk32k(true); |
80 | } | 79 | } |