OSDN Git Service

hw/arm/raspi: Extract the processor type from the board revision
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 8 Feb 2020 16:56:37 +0000 (17:56 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Feb 2020 14:30:51 +0000 (14:30 +0000)
commit2e664b45f4d9e7449bd977980aa1454b16837713
tree53668ba9e23c15910f094dd85775da4c8f917659
parentf5bb124ecf34298246b4a776f2cf7545b1170638
hw/arm/raspi: Extract the processor type from the board revision

The board revision encode the processor type. Add a helper
to extract the type, and use it.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200208165645.15657-6-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/raspi.c