summary refs log tree commit diff stats
path: root/hw/rtc/goldfish_rtc.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-02-08 17:56:45 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-02-13 14:30:51 +0000
commit759f0f87e34fe63a475d926ea6db88d11d2cd018 (patch)
treeaa8902774aa5cbe502e3b8575c61e62c709c0ffa /hw/rtc/goldfish_rtc.c
parenta03bde3674e400473717baec599da0a7ee0cf066 (diff)
downloadfocaccia-qemu-759f0f87e34fe63a475d926ea6db88d11d2cd018.tar.gz
focaccia-qemu-759f0f87e34fe63a475d926ea6db88d11d2cd018.zip
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 'hw/rtc/goldfish_rtc.c')
0 files changed, 0 insertions, 0 deletions