aboutsummaryrefslogtreecommitdiff
path: root/hw/sd/sdmmc-internal.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-06-24 15:29:27 +0200
committerCédric Le Goater <clg@kaod.org>2023-09-01 11:40:04 +0200
commit5c44e820096bbf9b897f668cb6d6dadb44ba5ff8 (patch)
tree6408785ac4310fdca5afde08cbbf6c0ba30bc5fa /hw/sd/sdmmc-internal.c
parenta6e0f67e77fc61ff9aff6b3ad6c1ed039ff926b2 (diff)
downloadqemu-5c44e820096bbf9b897f668cb6d6dadb44ba5ff8.zip
qemu-5c44e820096bbf9b897f668cb6d6dadb44ba5ff8.tar.gz
qemu-5c44e820096bbf9b897f668cb6d6dadb44ba5ff8.tar.bz2
hw/sd: Add sd_cmd_SEND_OP_CMD() handler
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> [ clg: Update cmd_abbrev ] Message-Id: <20210624142209.1193073-9-f4bug@amsat.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/sd/sdmmc-internal.c')
-rw-r--r--hw/sd/sdmmc-internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sd/sdmmc-internal.c b/hw/sd/sdmmc-internal.c
index 2053def..8648a78 100644
--- a/hw/sd/sdmmc-internal.c
+++ b/hw/sd/sdmmc-internal.c
@@ -14,7 +14,7 @@
const char *sd_cmd_name(uint8_t cmd)
{
static const char *cmd_abbrev[SDMMC_CMD_MAX] = {
- [0] = "GO_IDLE_STATE",
+ [0] = "GO_IDLE_STATE", [1] = "SEND_OP_CMD",
[2] = "ALL_SEND_CID", [3] = "SEND_RELATIVE_ADDR",
[4] = "SET_DSR", [5] = "IO_SEND_OP_COND",
[6] = "SWITCH_FUNC", [7] = "SELECT/DESELECT_CARD",