hw/arm/raspi: Remove use of the 'version' value in the board code
We expected the 'version' ID to match the board processor ID, but this is not always true (for example boards with revision id 0xa02042/0xa22042 are Raspberry Pi 2 with a BCM2837 SoC). This was not important because we were not modelling them, but since the recent refactor now allow to model these boards, it is safer to check the processor id directly. Remove the version check. Suggested-by:Peter Maydell <peter.maydell@linaro.org> Reviewed-by:
Luc Michel <luc.michel@greensocs.com> Signed-off-by:
Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20200924111808.77168-9-f4bug@amsat.org Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
Please register or sign in to comment