Philippe Mathieu-Daudé 759f0f87e3 hw/arm/raspi: Extract the cores count from the board revision
The count of ARM cores is encoded in the board revision.  Add a
helper to extract the number of cores, and use it.  This will be
helpful when we add the Raspi0/1 that have a single core.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200208165645.15657-14-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: tweaked commit message as suggested by Igor]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-02-13 14:30:51 +00:00
..
2019-09-04 14:44:54 +01:00
2020-02-13 14:14:52 +00:00
2020-01-17 14:27:16 +00:00
2019-08-16 13:31:52 +02:00
2019-09-03 11:26:55 -03:00
2020-01-17 14:09:29 +00:00
2019-09-03 11:26:55 -03:00
2019-09-03 11:26:55 -03:00
2020-01-17 14:09:29 +00:00
2019-09-03 11:26:55 -03:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:53 +02:00
2020-01-07 17:24:29 +04:00
2020-01-07 17:24:29 +04:00
2019-09-03 11:26:55 -03:00
2019-09-03 11:26:55 -03:00
2019-09-03 11:26:55 -03:00
2019-09-03 11:26:55 -03:00
2019-09-03 11:26:55 -03:00
2019-09-03 11:26:55 -03:00
2019-09-03 11:26:55 -03:00