1
0
Fork 0
forked from len0rd/rockbox

imx233/fuze+: correctly reset timrot block

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30529 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Amaury Pouly 2011-09-13 23:39:11 +00:00
parent af9d25611d
commit c36d33ce59

View file

@ -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);
}