]> git.proxmox.com Git - mirror_qemu.git/commit
hw/sd: ssi-sd: Support single block write
authorBin Meng <bin.meng@windriver.com>
Thu, 28 Jan 2021 06:30:31 +0000 (14:30 +0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 19 Feb 2021 23:17:09 +0000 (00:17 +0100)
commit5020e3cb769e90737bba2d54222a3a449eae7bc0
tree3b1694ee18b0cf38045f6ef7e84d15b367b8e876
parent995731d3f754d3110e0abb446ed31790377d211b
hw/sd: ssi-sd: Support single block write

Add 2 more states for the block write operation. The SPI host needs
to send a data start token to start the transfer, and the data block
written to the card will be acknowledged by a data response token.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
[PMD: Change VMState version id 6 -> 7]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20210128063035.15674-6-bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/sd/ssi-sd.c