]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/sd/sdcard: Return ILLEGAL for CMD19/CMD23 prior SD spec v3.01
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 17 Apr 2022 17:43:58 +0000 (19:43 +0200)
committerCédric Le Goater <clg@kaod.org>
Fri, 1 Sep 2023 09:40:04 +0000 (11:40 +0200)
commit24965082a777f8041890c443230f3d0ae555d764
treec44f5924937d194488e564651ee7aee8cafa5fca
parent8285490b2b2a2c064e2e85df4b73b58194ce0445
hw/sd/sdcard: Return ILLEGAL for CMD19/CMD23 prior SD spec v3.01

CMD19 (SEND_TUNING_BLOCK) and CMD23 (SET_BLOCK_COUNT) were
added in the Physical Layer Simplified Specification v3.01.
When earlier spec version is requested, we should return ILLEGAL.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-Id: <20220509141320.98374-1-philippe.mathieu.daude@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/sd/sd.c