hw/sd: Introduce receive_ready() callback
commit995731d3f754d3110e0abb446ed31790377d211b
authorBin Meng <bin.meng@windriver.com>
Thu, 28 Jan 2021 06:30:30 +0000 (28 14:30 +0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 19 Feb 2021 23:17:09 +0000 (20 00:17 +0100)
treed4c8c0e6f455043f7e3fc7ade895092da0ba6884
parenteedb7f249cabfb03ff778ed2330710fc63a1172a
hw/sd: Introduce receive_ready() callback

At present there is a data_ready() callback for the SD data read
path. Let's add a receive_ready() for the SD data write path.

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