Re: [PATCH v2 02/24] hw/misc/mps2-scc: Support configurable number of OSCCLK values

2021-02-28 Thread Richard Henderson
On 2/15/21 3:51 AM, Peter Maydell wrote: Currently the MPS2 SCC device implements a fixed number of OSCCLK values (3). The variant of this device in the MPS3 AN524 board has 6 OSCCLK values. Switch to using a PROP_ARRAY, which allows board code to specify how large the OSCCLK array should be as

Re: [PATCH v2 02/24] hw/misc/mps2-scc: Support configurable number of OSCCLK values

2021-02-15 Thread Peter Maydell
On Mon, 15 Feb 2021 at 12:02, Philippe Mathieu-Daudé wrote: > > On 2/15/21 12:51 PM, Peter Maydell wrote: > > Currently the MPS2 SCC device implements a fixed number of OSCCLK > > values (3). The variant of this device in the MPS3 AN524 board has 6 > > OSCCLK values. Switch to using a PROP_ARRAY

Re: [PATCH v2 02/24] hw/misc/mps2-scc: Support configurable number of OSCCLK values

2021-02-15 Thread Philippe Mathieu-Daudé
On 2/15/21 12:51 PM, Peter Maydell wrote: > Currently the MPS2 SCC device implements a fixed number of OSCCLK > values (3). The variant of this device in the MPS3 AN524 board has 6 > OSCCLK values. Switch to using a PROP_ARRAY, which allows board code > to specify how large the OSCCLK array shoul

[PATCH v2 02/24] hw/misc/mps2-scc: Support configurable number of OSCCLK values

2021-02-15 Thread Peter Maydell
Currently the MPS2 SCC device implements a fixed number of OSCCLK values (3). The variant of this device in the MPS3 AN524 board has 6 OSCCLK values. Switch to using a PROP_ARRAY, which allows board code to specify how large the OSCCLK array should be as well as its values. With a variable-lengt