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:
parent
af9d25611d
commit
c36d33ce59
1 changed files with 1 additions and 2 deletions
|
@ -73,8 +73,7 @@ void imx233_setup_timer(unsigned timer_nr, bool reload, unsigned count,
|
||||||
|
|
||||||
void imx233_timrot_init(void)
|
void imx233_timrot_init(void)
|
||||||
{
|
{
|
||||||
__REG_CLR(HW_TIMROT_ROTCTRL) = __BLOCK_CLKGATE;
|
imx233_reset_block(&HW_TIMROT_ROTCTRL);
|
||||||
__REG_CLR(HW_TIMROT_ROTCTRL) = __BLOCK_SFTRST;
|
|
||||||
/* enable xtal path to timrot */
|
/* enable xtal path to timrot */
|
||||||
imx233_enable_timrot_xtal_clk32k(true);
|
imx233_enable_timrot_xtal_clk32k(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue