diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-01-29 16:18:24 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-02-02 13:51:58 +0000 |
commit | 04f4915424743671ca70c405ab69bc0a3ed8d937 (patch) | |
tree | f287a937c46ce22ef33565d87e5280da94b41b2d /scripts/modules/module_block.py | |
parent | 104395bc661b41055aaae1d8eb95bd2d99bdd20f (diff) | |
download | qemu-04f4915424743671ca70c405ab69bc0a3ed8d937.zip qemu-04f4915424743671ca70c405ab69bc0a3ed8d937.tar.gz qemu-04f4915424743671ca70c405ab69bc0a3ed8d937.tar.bz2 |
hw/arm/msf2: Simplify setting MachineClass::valid_cpu_types[]
The M2Sxxx SoC family can only be used with Cortex-M3.
Propagating the CPU type from the board level is pointless.
Hard-code the CPU type at the SoC level.
Remove the now ignored MachineClass::default_cpu_type field.
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.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240129151828.59544-6-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/modules/module_block.py')
0 files changed, 0 insertions, 0 deletions