diff options
Diffstat (limited to 'firmware')
-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 | } |