On 1/21/21 8:06 PM, Peter Maydell wrote: > 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.mayd...@linaro.org> > --- > At some point we should make the SysTick take a Clock itself so > that we can get rid of the system_clock_scale global entirely. > (In fact we want two Clocks: one that is the CPU clock and one > for the 'external reference clock' whose period is currently > hardcoded at 1000ns in systick_scale()...) > --- > hw/arm/armsse.c | 21 +++++++++++++++++---- > 1 file changed, 17 insertions(+), 4 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>