mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
hw/sd: Rename sdbus_write_data() as sdbus_write_byte()
The sdbus_write_data() method do a single byte access on the data line of a SD bus. Rename it as sdbus_write_byte() and document it. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200814092346.21825-3-f4bug@amsat.org>
This commit is contained in:
parent
c769a88d44
commit
39017143d6
8 changed files with 25 additions and 18 deletions
|
@ -184,7 +184,7 @@ static void pxa2xx_mmci_fifo_update(PXA2xxMMCIState *s)
|
|||
|
||||
if (s->cmdat & CMDAT_WR_RD) {
|
||||
while (s->bytesleft && s->tx_len) {
|
||||
sdbus_write_data(&s->sdbus, s->tx_fifo[s->tx_start++]);
|
||||
sdbus_write_byte(&s->sdbus, s->tx_fifo[s->tx_start++]);
|
||||
s->tx_start &= 0x1f;
|
||||
s->tx_len --;
|
||||
s->bytesleft --;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue