hw/arm/armsse: Use Clock to set system_clock_scale
commit8ee3e26eceb942b4626d18fae1cdf3ac8a7e1b69
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 28 Jan 2021 11:41:42 +0000 (28 11:41 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jan 2021 15:54:44 +0000 (29 15:54 +0000)
treeebe95ee8465814d8a231b913a1a88a9a0e7d141e
parent7bbb12f305c894b861229073e5d43ea80bcce6e0
hw/arm/armsse: Use Clock to set system_clock_scale

Use the MAINCLK Clock input to set the system_clock_scale variable
rather than using the mainclk_frq property.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Message-id: 20210128114145.20536-23-peter.maydell@linaro.org
Message-id: 20210121190622.22000-23-peter.maydell@linaro.org
hw/arm/armsse.c