mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
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
This commit is contained in:
parent
d18fdd69d0
commit
683754c7b6
10 changed files with 5 additions and 55 deletions
|
@ -144,8 +144,6 @@ static void m2sxxx_soc_realize(DeviceState *dev_soc, Error **errp)
|
|||
return;
|
||||
}
|
||||
|
||||
system_clock_scale = clock_ticks_to_ns(s->m3clk, 1);
|
||||
|
||||
for (i = 0; i < MSF2_NUM_UARTS; i++) {
|
||||
if (serial_hd(i)) {
|
||||
serial_mm_init(get_system_memory(), uart_addr[i], 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue