summary refs log tree commit diff stats
path: root/hw/sd/sd.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-26 23:52:36 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-05 23:54:41 +0200
commit48741580a8e4b7e18406962425ce608e2ef0c6f4 (patch)
tree679b6fbff0cc8e611dfff2f5620271dfbae85350 /hw/sd/sd.c
parente84e0c4df57103a9047e607eeff105cbf0fbb923 (diff)
downloadfocaccia-qemu-48741580a8e4b7e18406962425ce608e2ef0c6f4.tar.gz
focaccia-qemu-48741580a8e4b7e18406962425ce608e2ef0c6f4.zip
hw/sd/sdcard: Remove noise from sd_cmd_name()
These CMD names weren't really useful, "UNKNOWN_CMD" is simpler.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Tested-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Tested-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20240628070216.92609-78-philmd@linaro.org>
Diffstat (limited to 'hw/sd/sd.c')
-rw-r--r--hw/sd/sd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 274a917ba6..bc1a574b62 100644
--- a/hw/sd/sd.c
+++ b/hw/sd/sd.c
@@ -239,12 +239,7 @@ static const char *sd_cmd_name(SDState *sd, uint8_t cmd)
 {
     static const char *cmd_abbrev[SDMMC_CMD_MAX] = {
         [18]    = "READ_MULTIPLE_BLOCK",
-                                            [21]    = "DPS_spec",
                                             [25]    = "WRITE_MULTIPLE_BLOCK",
-        [26]    = "MANUF_RSVD",
-        [40]    = "DPS_spec",
-        [60]    = "MANUF_RSVD",             [61]    = "MANUF_RSVD",
-        [62]    = "MANUF_RSVD",             [63]    = "MANUF_RSVD",
     };
     const SDProto *sdp = sd->proto;