hw/sd: Add sdbus_read_data() to read multiples bytes on the data line
commit6505a91a77d4efcc6d54b35851abcb137cdca30a
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 14 Aug 2020 09:23:45 +0000 (14 11:23 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 21 Aug 2020 14:35:35 +0000 (21 16:35 +0200)
tree8543fa20445bc3eefd30cfa9588f77cbeab4f2b3
parent62a21be60f8fdf0223fa099fb4e7a495eaf55cf9
hw/sd: Add sdbus_read_data() to read multiples bytes on the data line

Add a sdbus_read_data() method to read 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-7-f4bug@amsat.org>
hw/sd/core.c
include/hw/sd/sd.h