hw/arm/vexpress: Check for CPU types in machine_run_board_init()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 29 Jan 2024 15:18:27 +0000 (16:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Feb 2024 13:51:58 +0000 (13:51 +0000)
commitde71271a2d94f16f873c333c5962fcf8568580c6
treefd40b93b3faebfc3b22f84fffc38e70d6635ad56
parent467c6f84f91c387c56837995cc0293258174efdb
hw/arm/vexpress: Check for CPU types in machine_run_board_init()

Leverage the common code introduced in commit c9cf636d48 ("machine:
Add a valid_cpu_types property") to check for the single valid CPU
type. Remove the now unused MachineClass::default_cpu_type field.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240129151828.59544-9-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/vexpress.c