hw/arm/mps2-tz: Make FPGAIO switch and LED config per-board
commitde77e8f4d2eec3c0ec9a74ad0da63cd9faec6aa7
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 15 Feb 2021 11:51:21 +0000 (15 11:51 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 6 Mar 2021 13:30:39 +0000 (6 13:30 +0000)
treea3cb0dbc349e624b9da19736d65f46e2abc549c7
parentb2234223fd511230e933bba2572928ca97028bb8
hw/arm/mps2-tz: Make FPGAIO switch and LED config per-board

Set the FPGAIO num-leds and have-switches properties explicitly
per-board, rather than relying on the defaults.  The AN505 and AN521
both have the same settings as the default values, but the AN524 will
be different.

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-8-peter.maydell@linaro.org
hw/arm/mps2-tz.c