hw/arm/musca: Simplify setting MachineClass::valid_cpu_types[]
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 29 Jan 2024 15:18:25 +0000 (16:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Feb 2024 13:51:58 +0000 (13:51 +0000)
commit858ab7140db46cfe14f38ce5c0643c289df0a515
tree1baeb5b89d3e6b969cab56a67dfdf07756bf68f9
parent04f4915424743671ca70c405ab69bc0a3ed8d937
hw/arm/musca: Simplify setting MachineClass::valid_cpu_types[]

Musca boards use the embedded subsystems (SSE) tied to a specific
Cortex core. Our models only use the Cortex-M33.

Use the common code introduced in commit c9cf636d48 ("machine: Add
a valid_cpu_types property") to check for valid CPU type at the
board level.

Remove the now unused MachineClass::default_cpu_type field.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240129151828.59544-7-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/musca.c