diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-06-03 19:59:16 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-07-14 15:45:58 +0200 |
commit | 9157dd597d293ab7f599f4d96c3fe8a6e07c633d (patch) | |
tree | c60633c25a5d238edfb4a22c515e790595d50eac /crypto | |
parent | 6a289a5ba3383e17fb47029720425bef42e424d7 (diff) | |
download | qemu-9157dd597d293ab7f599f4d96c3fe8a6e07c633d.zip qemu-9157dd597d293ab7f599f4d96c3fe8a6e07c633d.tar.gz qemu-9157dd597d293ab7f599f4d96c3fe8a6e07c633d.tar.bz2 |
hw/sd/sdcard: Restrict Class 6 commands to SCSD cards
Only SCSD cards support Class 6 (Block Oriented Write Protection)
commands.
"SD Specifications Part 1 Physical Layer Simplified Spec. v3.01"
4.3.14 Command Functional Difference in Card Capacity Types
* Write Protected Group
SDHC and SDXC do not support write-protected groups. Issuing
CMD28, CMD29 and CMD30 generates the ILLEGAL_COMMAND error.
Cc: qemu-stable@nongnu.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20200630133912.9428-7-f4bug@amsat.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions