summaryrefslogtreecommitdiffstats
path: root/tests/qtest/npcm7xx_rng-test.c
diff options
context:
space:
mode:
authorHao Wu2020-10-23 23:06:34 +0200
committerPeter Maydell2020-10-27 12:10:01 +0100
commit7d378ed6e3b4a26f4da887fcccc4c6f1db3dcd42 (patch)
tree6770998f835720d3e7bc0879ad7a0705a9650cee /tests/qtest/npcm7xx_rng-test.c
parentMove npcm7xx_timer_reached_zero call out of npcm7xx_timer_pause (diff)
downloadqemu-7d378ed6e3b4a26f4da887fcccc4c6f1db3dcd42.tar.gz
qemu-7d378ed6e3b4a26f4da887fcccc4c6f1db3dcd42.tar.xz
qemu-7d378ed6e3b4a26f4da887fcccc4c6f1db3dcd42.zip
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: Tyrone Ting <kfting@nuvoton.com> Signed-off-by: Hao Wu <wuhaotsh@google.com> Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> [PMM: deleted blank line at end of npcm_watchdog_timer-test.c] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/qtest/npcm7xx_rng-test.c')
0 files changed, 0 insertions, 0 deletions