diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2021-02-15 11:51:19 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2021-03-06 13:30:38 +0000 |
| commit | e8556f435eee97d508b58c06c156990d537823ab (patch) | |
| tree | cc136f29cedb83c9181aac191e0939f73155a1ed /hw/avr/arduino.c | |
| parent | f7c71b21f27b9cbac2c30eda11a93eb7f8722161 (diff) | |
| download | focaccia-qemu-e8556f435eee97d508b58c06c156990d537823ab.tar.gz focaccia-qemu-e8556f435eee97d508b58c06c156990d537823ab.zip | |
hw/misc/mps2-fpgaio: Make number of LEDs configurable by board
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 <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20210215115138.20465-6-peter.maydell@linaro.org
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions