diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2021-08-12 10:33:52 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-09-01 11:08:20 +0100 |
commit | a40e10f1dc3e0fedd12042e8dddee0a8cad5dc30 (patch) | |
tree | 035aa57d0d8a110d71518eccc2ef2593641dd4d1 /hw/timer/hpet.c | |
parent | 3b76e18520330e2a23c86d7c627c1cd4a3ed32f2 (diff) |
hw/timer/armv7m_systick: Use clock inputs instead of system_clock_scale
Now that all users of the systick devices wire up the clock inputs,
use those instead of the system_clock_scale and the hardwired 1MHz
value for the reference clock.
This will fix various board models where we were incorrectly
providing a 1MHz reference clock instead of some other value or
instead of providing no reference clock at all.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>
Message-id: 20210812093356.1946-22-peter.maydell@linaro.org
Diffstat (limited to 'hw/timer/hpet.c')
0 files changed, 0 insertions, 0 deletions