Skip to content
Snippets Groups Projects
Commit 7d378ed6 authored by Hao Wu's avatar Hao Wu Committed by Peter Maydell
Browse files

hw/timer: Adding watchdog for NPCM7XX Timer.


The watchdog is part of NPCM7XX's timer module. Its behavior is
controlled by the WTCR register in the timer.

When enabled, the watchdog issues an interrupt signal after a pre-set
amount of cycles, and issues a reset signal shortly after that.

Reviewed-by: default avatarTyrone Ting <kfting@nuvoton.com>
Signed-off-by: default avatarHao Wu <wuhaotsh@google.com>
Signed-off-by: default avatarHavard Skinnemoen <hskinnemoen@google.com>
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
[PMM: deleted blank line at end of npcm_watchdog_timer-test.c]
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 2ac88848
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment