mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
hw/boards: Explicit no_sdcard=false as ON_OFF_AUTO_OFF
Update MachineClass::no_sdcard default implicit AUTO initialization to explicit OFF. This flag is consumed in system/vl.c::qemu_disable_default_devices(). Use this place to assert we don't have anymore AUTO state. In hw/ppc/e500.c we add the ppce500_machine_class_init() method to initialize once all the inherited classes. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20250204200934.65279-3-philmd@linaro.org>
This commit is contained in:
parent
e3660f60dc
commit
8a2f1f921c
98 changed files with 152 additions and 0 deletions
|
@ -818,6 +818,7 @@ static void versal_virt_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->max_cpus = XLNX_VERSAL_NR_ACPUS + XLNX_VERSAL_NR_RCPUS;
|
||||
mc->default_cpus = XLNX_VERSAL_NR_ACPUS + XLNX_VERSAL_NR_RCPUS;
|
||||
mc->no_cdrom = true;
|
||||
mc->no_sdcard = ON_OFF_AUTO_OFF;
|
||||
mc->default_ram_id = "ddr";
|
||||
object_class_property_add_str(oc, "ospi-flash", versal_get_ospi_model,
|
||||
versal_set_ospi_model);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue