Commit 79fcf52b authored by Max Filippov's avatar Max Filippov Committed by Chris Zankel

xtensa: reset all timers on initialization

There are XCHAL_NUM_TIMERS, reset them all.
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: default avatarChris Zankel <chris@zankel.net>
parent 90e3bc79
......@@ -111,7 +111,7 @@ ENTRY(_startup)
/* Disable all timers. */
.set _index, 0
.rept XCHAL_NUM_TIMERS - 1
.rept XCHAL_NUM_TIMERS
wsr a0, SREG_CCOMPARE + _index
.set _index, _index + 1
.endr
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment