]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/sd/sdhci: Factor sdhci_sdma_transfer() out
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 9 Jan 2025 12:12:37 +0000 (13:12 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 13 Jan 2025 16:16:04 +0000 (17:16 +0100)
commit14b1086f92ae8d45fc1e66c837ddc7da79d93f9b
treeff2ba8ee8375ebaaab5e134c7d2e2c706ce34e77
parent5df50b8e97377d2468bd8759ec3275e747a147bb
hw/sd/sdhci: Factor sdhci_sdma_transfer() out

Factor sdhci_sdma_transfer() out of sdhci_data_transfer().
Re-use it in sdhci_write(), so we don't try to run multi
block transfer for a single block.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20250109122029.22780-1-philmd@linaro.org>
hw/sd/sdhci.c