diff options
author | Peter Maydell | 2021-08-12 11:33:56 +0200 |
---|---|---|
committer | Peter Maydell | 2021-09-01 12:08:21 +0200 |
commit | 683754c7b61f9e2ff098720ec80c9ab86c54663d (patch) | |
tree | 2fcfe981edd85c7b87f40bab3332cee57d49604c /hw/arm/netduinoplus2.c | |
parent | hw/timer/stellaris-gptm: Use Clock input instead of system_clock_scale (diff) | |
download | qemu-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/arm/netduinoplus2.c')
-rw-r--r-- | hw/arm/netduinoplus2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/arm/netduinoplus2.c b/hw/arm/netduinoplus2.c index a5a8999cc8..76cea8e489 100644 --- a/hw/arm/netduinoplus2.c +++ b/hw/arm/netduinoplus2.c @@ -39,8 +39,6 @@ static void netduinoplus2_init(MachineState *machine) DeviceState *dev; Clock *sysclk; - system_clock_scale = NANOSECONDS_PER_SECOND / SYSCLK_FRQ; - /* This clock doesn't need migration because it is fixed-frequency */ sysclk = clock_new(OBJECT(machine), "SYSCLK"); clock_set_hz(sysclk, SYSCLK_FRQ); |