]> git.proxmox.com Git - mirror_qemu.git/commit
hw/timer/armv7m_systick: Use clock inputs instead of system_clock_scale
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Aug 2021 09:33:52 +0000 (10:33 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 1 Sep 2021 10:08:20 +0000 (11:08 +0100)
commita40e10f1dc3e0fedd12042e8dddee0a8cad5dc30
tree035aa57d0d8a110d71518eccc2ef2593641dd4d1
parent3b76e18520330e2a23c86d7c627c1cd4a3ed32f2
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
hw/timer/armv7m_systick.c