Re: [PATCH 22/25] hw/arm/armsse: Use Clock to set system_clock_scale

2021-01-23 Thread Peter Maydell
On Sat, 23 Jan 2021 at 20:30, Luc Michel wrote: > > On 19:06 Thu 21 Jan , 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 > > --- > > At some point we should make t

Re: [PATCH 22/25] hw/arm/armsse: Use Clock to set system_clock_scale

2021-01-23 Thread Luc Michel
On 19:06 Thu 21 Jan , 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 > --- > At some point we should make the SysTick take a Clock itself so > that we can get rid of the s

Re: [PATCH 22/25] hw/arm/armsse: Use Clock to set system_clock_scale

2021-01-21 Thread Philippe Mathieu-Daudé
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 > --- > At some point we should make the SysTick take a Clock itself so > that we can get rid of the system_

[PATCH 22/25] hw/arm/armsse: Use Clock to set system_clock_scale

2021-01-21 Thread Peter Maydell
Use the MAINCLK Clock input to set the system_clock_scale variable rather than using the mainclk_frq property. Signed-off-by: Peter Maydell --- 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 Clock