From: Bin Meng <bin.m...@windriver.com> This includes several fixes related to erase operation of a SD card.
Based-on: http://patchwork.ozlabs.org/project/qemu-devel/list/?series=226785 Bin Meng (3): hw/sd: sd: Fix address check in sd_erase() hw/sd: sd: Move the sd_block_{read,write} and macros ahead hw/sd: sd: Actually perform the erase operation hw/sd/sd.c | 53 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 22 deletions(-) -- 2.25.1