summaryrefslogtreecommitdiffstats
path: root/hw/sd/sd.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-08-14 11:23:46 +0200
committerPhilippe Mathieu-Daudé2020-08-21 16:35:35 +0200
commit618e0be1bac7ffe794242b422f7a9767f2a8be79 (patch)
treee16ef3db024ddf1ff92e38b4fa0976a9114dde2c /hw/sd/sd.c
parenthw/sd: Add sdbus_read_data() to read multiples bytes on the data line (diff)
downloadqemu-618e0be1bac7ffe794242b422f7a9767f2a8be79.tar.gz
qemu-618e0be1bac7ffe794242b422f7a9767f2a8be79.tar.xz
qemu-618e0be1bac7ffe794242b422f7a9767f2a8be79.zip
hw/sd: Use sdbus_read_data() instead of sdbus_read_byte() when possible
Use the recently added sdbus_read_data() to read multiple bytes at once, instead of looping calling sdbus_read_byte(). Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200814092346.21825-8-f4bug@amsat.org>
Diffstat (limited to 'hw/sd/sd.c')
0 files changed, 0 insertions, 0 deletions