aboutsummaryrefslogtreecommitdiff
path: root/hw/sd
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-07-05 19:42:05 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-08-21 16:22:43 +0200
commitb67cd8f55bff74ed004b86072dc0a4dc2ac07fc3 (patch)
tree67b1c00a65a697be25a75dda0d9baadef30b8e37 /hw/sd
parent4858e256bd475cdb68f61daa1083a562ecf9faec (diff)
downloadqemu-b67cd8f55bff74ed004b86072dc0a4dc2ac07fc3.zip
qemu-b67cd8f55bff74ed004b86072dc0a4dc2ac07fc3.tar.gz
qemu-b67cd8f55bff74ed004b86072dc0a4dc2ac07fc3.tar.bz2
hw/sd/pl181: Rename pl181_send_command() as pl181_do_command()
pl181_send_command() do a bus transaction (send or receive), rename it as pl181_do_command(). Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Acked-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20200705204630.4133-3-f4bug@amsat.org>
Diffstat (limited to 'hw/sd')
-rw-r--r--hw/sd/pl181.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/sd/pl181.c b/hw/sd/pl181.c
index 649386e..3fc2cdd 100644
--- a/hw/sd/pl181.c
+++ b/hw/sd/pl181.c
@@ -173,7 +173,7 @@ static uint32_t pl181_fifo_pop(PL181State *s)
return value;
}
-static void pl181_send_command(PL181State *s)
+static void pl181_do_command(PL181State *s)
{
SDRequest request;
uint8_t response[16];
@@ -402,7 +402,7 @@ static void pl181_write(void *opaque, hwaddr offset,
qemu_log_mask(LOG_UNIMP,
"pl181: Pending commands not implemented\n");
} else {
- pl181_send_command(s);
+ pl181_do_command(s);
pl181_fifo_run(s);
}
/* The command has completed one way or the other. */