hw/arm/bcm2836: Introduce BCM283XClass::core_count
commit25ea28845969c6f5b63b4b34c40c6cb743280b92
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 24 Oct 2020 17:01:21 +0000 (24 19:01 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 27 Oct 2020 11:10:44 +0000 (27 11:10 +0000)
tree282d2dde8a4b5c7580ddd744d4130421c894f210
parent34d1a4f591efd22ed7ff9c883f1328eca6b0741f
hw/arm/bcm2836: Introduce BCM283XClass::core_count

The BCM2835 has only one core. Introduce the core_count field to
be able to use values different than BCM283X_NCPUS (4).

Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20201024170127.3592182-4-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/bcm2836.c