mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -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
|
@ -102,7 +102,7 @@ int sdbus_do_command(SDBus *sdbus, SDRequest *req, uint8_t *response)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void sdbus_write_data(SDBus *sdbus, uint8_t value)
|
||||
void sdbus_write_byte(SDBus *sdbus, uint8_t value)
|
||||
{
|
||||
SDState *card = get_card(sdbus);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue