hw/sd: Add sdbus_write_data() to write multiples bytes on the data line
commite35c343dd9c18d4d3e6424e2fab38f08085875d6
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 14 Aug 2020 09:23:43 +0000 (14 11:23 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 21 Aug 2020 14:35:35 +0000 (21 16:35 +0200)
tree2cddeafa5853b20e04ed97a266e4f753c2b542a8
parent8467f62201fd2383d553702f9f9441e2493ece75
hw/sd: Add sdbus_write_data() to write multiples bytes on the data line

Add a sdbus_write_data() method to write multiple bytes on the
data line of a SD bus.
We might improve the tracing later, for now keep logging each
byte individually.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200814092346.21825-5-f4bug@amsat.org>
hw/sd/core.c
include/hw/sd/sd.h