diff options
author | Hao Wu <wuhaotsh@google.com> | 2021-01-08 11:09:41 -0800 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-01-12 21:19:02 +0000 |
commit | 0be12dc76aabda6399a28d9b5e450da2bb94cb22 (patch) | |
tree | adafafb14699cfbbcb537eef924ed9e71305f90f /hw/adc | |
parent | bcda710f6c44098fc828b61630449cabcce0ae55 (diff) |
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: Havard Skinnemoen <hskinnemoen@google.com>
Reviewed-by: Tyrone Ting <kfting@nuvoton.com>
Signed-off-by: Hao Wu <wuhaotsh@google.com>
Message-id: 20210108190945.949196-3-wuhaotsh@google.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/adc')
0 files changed, 0 insertions, 0 deletions