diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-02-08 17:56:45 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-02-13 14:30:51 +0000 |
commit | 759f0f87e34fe63a475d926ea6db88d11d2cd018 (patch) | |
tree | aa8902774aa5cbe502e3b8575c61e62c709c0ffa /backends | |
parent | a03bde3674e400473717baec599da0a7ee0cf066 (diff) |
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>
Diffstat (limited to 'backends')
0 files changed, 0 insertions, 0 deletions