diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-06-20 14:43:13 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-06-24 10:41:42 +0200 |
commit | 3b87fff1cd34a1f7cbf2884e615cfd69c28c8ef2 (patch) | |
tree | 8e3c9b894f41f23187bdfb6cb509df8839a654cc | |
parent | eac7ce3de78ee96c3e2b3eb2678682e44078bcdf (diff) | |
download | qemu-3b87fff1cd34a1f7cbf2884e615cfd69c28c8ef2.zip qemu-3b87fff1cd34a1f7cbf2884e615cfd69c28c8ef2.tar.gz qemu-3b87fff1cd34a1f7cbf2884e615cfd69c28c8ef2.tar.bz2 |
hw/sd/sdcard: Remove ACMD6 handler for SPI mode
There is no ACMD6 command in SPI mode, remove the pointless
handler introduced in commit 946897ce18 ("sdcard: handles
more commands in SPI mode"). Keep sd_cmd_unimplemented()
since we'll reuse it later.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Tested-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20240621080554.18986-8-philmd@linaro.org>
-rw-r--r-- | hw/sd/sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1012,6 +1012,7 @@ static sd_rsp_type_t sd_cmd_illegal(SDState *sd, SDRequest req) } /* Commands that are recognised but not yet implemented. */ +__attribute__((unused)) static sd_rsp_type_t sd_cmd_unimplemented(SDState *sd, SDRequest req) { qemu_log_mask(LOG_UNIMP, "%s: CMD%i not implemented\n", @@ -2154,7 +2155,6 @@ static const SDProto sd_proto_spi = { [52 ... 54] = sd_cmd_illegal, }, .acmd = { - [6] = sd_cmd_unimplemented, [41] = spi_cmd_SEND_OP_COND, }, }; |