hw/sd: Rename read/write_data() as read/write_byte()
commitc769a88d4475f648595c6a270d9d0b0f3f7f3740
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 14 Aug 2020 09:23:40 +0000 (14 11:23 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 21 Aug 2020 14:35:35 +0000 (21 16:35 +0200)
tree65f24804ff8f5b242ddfc486832806fd0bc4a91a
parent9006f1e706e0f41efdb62556cefe88d746add88a
hw/sd: Rename read/write_data() as read/write_byte()

The read/write_data() methods write do a single byte access
on the data line of a SD card. Rename them as read/write_byte().
Add some documentation (not in "hw/sd/sdcard_legacy.h" which we
are going to remove soon).

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200814092346.21825-2-f4bug@amsat.org>
hw/sd/core.c
hw/sd/omap_mmc.c
hw/sd/sd.c
include/hw/sd/sd.h
include/hw/sd/sdcard_legacy.h