On 2/15/21 3:51 AM, Peter Maydell wrote:
MPS3 boards have an extra SWITCH register in the FPGAIO block which
reports the value of some switches.  Implement this, governed by a
property the board code can use to specify whether whether it exists.

Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé<f4...@amsat.org>
---
  include/hw/misc/mps2-fpgaio.h |  1 +
  hw/misc/mps2-fpgaio.c         | 10 ++++++++++
  2 files changed, 11 insertions(+)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~


Reply via email to