]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/raspi: Introduce RaspiProcessorId enum
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 24 Sep 2020 11:18:06 +0000 (13:18 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 1 Oct 2020 14:31:01 +0000 (15:31 +0100)
commit696788d6a94e9da6acdcf48e5fd5ec190f1f748a
tree54e905400cf94d73af9a543fb9b3a2e7637561b3
parentaa35ec2213b35d7542d17cd65f09f4e827403ce5
hw/arm/raspi: Introduce RaspiProcessorId enum

As we only support a reduced set of the REV_CODE_PROCESSOR id
encoded in the board revision, define the PROCESSOR_ID values
as an enum. We can simplify the board_soc_type and cores_count
methods.

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