]> Git Repo - qemu.git/commit
hw/arm/raspi: Don't bother setting default_cpu_type
authorPeter Maydell <[email protected]>
Thu, 26 Apr 2018 10:04:39 +0000 (11:04 +0100)
committerPeter Maydell <[email protected]>
Thu, 26 Apr 2018 10:04:39 +0000 (11:04 +0100)
commitb901a172455cfbb96cc36e916ebc65f0bfed8109
treea2cbe78fa93a63fcd7952c48c712a07d9d2b91a7
parente4e91a217c17fff4045dd4b423cdcb471b3d6a0e
hw/arm/raspi: Don't bother setting default_cpu_type

In commit 210f47840dd62, we changed the bcm2836 SoC object to
always create a CPU of the correct type for that SoC model. This
makes the default_cpu_type settings in the MachineClass structs
for the raspi2 and raspi3 boards redundant. We didn't change
those at the time because it would have meant a temporary
regression in a corner case of error handling if the user
requested a non-existing CPU type. The -cpu parse handling
changes in 2278b93941d42c3 mean that it no longer implicitly
depends on default_cpu_type for this to work, so we can now
delete the redundant default_cpu_type fields.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: 20180420155547[email protected]
hw/arm/raspi.c
This page took 0.028189 seconds and 4 git commands to generate.