mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33: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
|
@ -244,7 +244,7 @@ static void pl181_fifo_run(PL181State *s)
|
|||
}
|
||||
n--;
|
||||
s->datacnt--;
|
||||
sdbus_write_data(&s->sdbus, value & 0xff);
|
||||
sdbus_write_byte(&s->sdbus, value & 0xff);
|
||||
value >>= 8;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue