hw/sd: sd: Allow single/multiple block write for SPI mode
authorBin Meng <bin.meng@windriver.com>
Thu, 28 Jan 2021 06:30:29 +0000 (14:30 +0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 19 Feb 2021 23:17:09 +0000 (00:17 +0100)
commiteedb7f249cabfb03ff778ed2330710fc63a1172a
treec0b34f8141160174fde8f64a0f8484cfe6003dd6
parentcdf6701bcc71331f8d0744c7f4c3cb309c71d541
hw/sd: sd: Allow single/multiple block write for SPI mode

At present the single/multiple block write in SPI mode is blocked
by sd_normal_command(). Remove the limitation.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210128063035.15674-4-bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/sd/sd.c