From f208970a06e2af65c351dd6e12df4ca4f382acdd Mon Sep 17 00:00:00 2001 From: Philippe Mathieu-Daudé Date: Tue, 4 Feb 2025 16:59:18 +0100 Subject: hw/arm: Remove all invalid uses of auto_create_sdcard=true MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é Reviewed-by: Thomas Huth Message-Id: <20250204200934.65279-6-philmd@linaro.org> --- hw/arm/microbit.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hw/arm/microbit.c') diff --git a/hw/arm/microbit.c b/hw/arm/microbit.c index fb09950832..3f56fb45ce 100644 --- a/hw/arm/microbit.c +++ b/hw/arm/microbit.c @@ -67,7 +67,6 @@ static void microbit_machine_class_init(ObjectClass *oc, void *data) mc->desc = "BBC micro:bit (Cortex-M0)"; mc->init = microbit_init; mc->max_cpus = 1; - mc->auto_create_sdcard = true; } static const TypeInfo microbit_info = { -- cgit 1.4.1