]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/sd/sdcard: Use complete SEND_OP_COND implementation in SPI mode
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 30 Jul 2025 15:35:06 +0000 (17:35 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 5 Aug 2025 14:05:56 +0000 (16:05 +0200)
commit3241a61a1374b4d9b0e835fb3fa5b4085377eebb
treebcc087f7da35166f54287472cf4d854aeaeca364
parent0f2ff994793247c710c79f95302f3e8c10d070de
hw/sd/sdcard: Use complete SEND_OP_COND implementation in SPI mode

While spi_cmd_SEND_OP_COND() is incomplete, sd_cmd_SEND_OP_COND()
is, except it doesn't return the correct value in SPI mode.
Correct and use, removing the need for spi_cmd_SEND_OP_COND().

Fixes: 775616c3ae8 ("Partial SD card SPI mode support")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250804133406.17456-7-philmd@linaro.org>
hw/sd/sd.c