Re: [PATCH for-6.2 05/25] hw/timer/armv7m_systick: Add input clocks

2021-08-17 Thread Luc Michel
On 10:33 Thu 12 Aug , Peter Maydell wrote: > The v7M systick timer can be programmed to run from either of > two clocks: > * an "external reference clock" (when SYST_CSR.CLKSOURCE == 0) > * the main CPU clock (when SYST_CSR.CLKSOURCE == 1) > > Our implementation currently hardwires the exter

Re: [PATCH for-6.2 05/25] hw/timer/armv7m_systick: Add input clocks

2021-08-12 Thread Alistair Francis
On Thu, Aug 12, 2021 at 7:36 PM Peter Maydell wrote: > > The v7M systick timer can be programmed to run from either of > two clocks: > * an "external reference clock" (when SYST_CSR.CLKSOURCE == 0) > * the main CPU clock (when SYST_CSR.CLKSOURCE == 1) > > Our implementation currently hardwires t

[PATCH for-6.2 05/25] hw/timer/armv7m_systick: Add input clocks

2021-08-12 Thread Peter Maydell
The v7M systick timer can be programmed to run from either of two clocks: * an "external reference clock" (when SYST_CSR.CLKSOURCE == 0) * the main CPU clock (when SYST_CSR.CLKSOURCE == 1) Our implementation currently hardwires the external reference clock to be 1MHz, and allows boards to set th