summaryrefslogtreecommitdiffstats
path: root/hw/timer
diff options
context:
space:
mode:
authorPeter Maydell2021-08-12 11:33:56 +0200
committerPeter Maydell2021-09-01 12:08:21 +0200
commit683754c7b61f9e2ff098720ec80c9ab86c54663d (patch)
tree2fcfe981edd85c7b87f40bab3332cee57d49604c /hw/timer
parenthw/timer/stellaris-gptm: Use Clock input instead of system_clock_scale (diff)
downloadqemu-683754c7b61f9e2ff098720ec80c9ab86c54663d.tar.gz
qemu-683754c7b61f9e2ff098720ec80c9ab86c54663d.tar.xz
qemu-683754c7b61f9e2ff098720ec80c9ab86c54663d.zip
arm: Remove system_clock_scale global
All the devices that used to use system_clock_scale have now been converted to use Clock inputs instead, so the global is no longer needed; remove it and all the code that sets it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20210812093356.1946-26-peter.maydell@linaro.org
Diffstat (limited to 'hw/timer')
-rw-r--r--hw/timer/armv7m_systick.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/timer/armv7m_systick.c b/hw/timer/armv7m_systick.c
index 21f6d0fd24..3bd951dd04 100644
--- a/hw/timer/armv7m_systick.c
+++ b/hw/timer/armv7m_systick.c
@@ -30,8 +30,6 @@
#define SYSCALIB_SKEW (1U << 30)
#define SYSCALIB_TENMS ((1U << 24) - 1)
-int system_clock_scale;
-
static void systick_set_period_from_clock(SysTickState *s)
{
/*