]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/sd/sdcard: Extract sd_blk_len() helper
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 26 Oct 2020 00:32:52 +0000 (01:32 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 2 Jul 2024 08:08:32 +0000 (10:08 +0200)
commitcb49e2ca22b830f0ca2752118b0bd01981e02bf3
tree72c1d8cc091bdefa39d3af764a30742428156844
parent12160bebd4ed928fb4decdde4c4adc6af044839f
hw/sd/sdcard: Extract sd_blk_len() helper

Extract sd_blk_len() helper, use definitions instead
of magic values.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20240628070216.92609-15-philmd@linaro.org>
hw/sd/sd.c