Re: [PATCH 05/24] hw/misc/mps2-fpgaio: Make number of LEDs configurable by board

2021-02-12 Thread Philippe Mathieu-Daudé
On 2/5/21 6:00 PM, Peter Maydell wrote: > The MPS2 board has 2 LEDs, but the MPS3 board has 10 LEDs. The > FPGAIO device is similar on both sets of boards, but the LED0 > register has correspondingly more bits that have an effect. Add a > device property for number of LEDs. > > Signed-off-by: Pe

[PATCH 05/24] hw/misc/mps2-fpgaio: Make number of LEDs configurable by board

2021-02-05 Thread Peter Maydell
The MPS2 board has 2 LEDs, but the MPS3 board has 10 LEDs. The FPGAIO device is similar on both sets of boards, but the LED0 register has correspondingly more bits that have an effect. Add a device property for number of LEDs. Signed-off-by: Peter Maydell --- include/hw/misc/mps2-fpgaio.h | 5