summary refs log tree commit diff stats
path: root/hw/arm/stm32vldiscovery.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-02-04 16:59:18 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-02-16 14:25:08 +0100
commitf208970a06e2af65c351dd6e12df4ca4f382acdd (patch)
tree8be8577324bb2a1b28ca6442135cc165430cd089 /hw/arm/stm32vldiscovery.c
parent5824fad4e92e3d10de1ce86d900dcde8f8dfaf76 (diff)
downloadfocaccia-qemu-f208970a06e2af65c351dd6e12df4ca4f382acdd.tar.gz
focaccia-qemu-f208970a06e2af65c351dd6e12df4ca4f382acdd.zip
hw/arm: Remove all invalid uses of auto_create_sdcard=true
MachineClass::auto_create_sdcard is only useful to automatically
create a SD card, attach a IF_SD block drive to it and plug the
card onto a SD bus. None of the ARM machines modified by this
commit try to use the IF_SD interface.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20250204200934.65279-6-philmd@linaro.org>
Diffstat (limited to 'hw/arm/stm32vldiscovery.c')
-rw-r--r--hw/arm/stm32vldiscovery.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/arm/stm32vldiscovery.c b/hw/arm/stm32vldiscovery.c
index a71da292b8..e6c1f5b8d7 100644
--- a/hw/arm/stm32vldiscovery.c
+++ b/hw/arm/stm32vldiscovery.c
@@ -66,7 +66,6 @@ static void stm32vldiscovery_machine_init(MachineClass *mc)
     mc->desc = "ST STM32VLDISCOVERY (Cortex-M3)";
     mc->init = stm32vldiscovery_init;
     mc->valid_cpu_types = valid_cpu_types;
-    mc->auto_create_sdcard = true;
 }
 
 DEFINE_MACHINE("stm32vldiscovery", stm32vldiscovery_machine_init)