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

hw/timer: Refactor NPCM7XX Timer to use CLK clock


This patch makes NPCM7XX Timer to use a the timer clock generated by the
CLK module instead of the magic number TIMER_REF_HZ.

Reviewed-by: default avatarHavard Skinnemoen <hskinnemoen@google.com>
Reviewed-by: default avatarTyrone Ting <kfting@nuvoton.com>
Signed-off-by: default avatarHao Wu <wuhaotsh@google.com>
Message-id: 20210108190945.949196-3-wuhaotsh@google.com
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent bcda710f
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