hw/arm/zynq: Check for CPU types in machine_run_board_init()
commit12af201a59e4cfc55381aae4ccb8cd071f026b0d
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 29 Jan 2024 15:18:28 +0000 (29 16:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Feb 2024 13:51:58 +0000 (2 13:51 +0000)
tree7be1855784411e1cd5630044d568b71d39d919c7
parentde71271a2d94f16f873c333c5962fcf8568580c6
hw/arm/zynq: 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-10-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/xilinx_zynq.c