hw/sd: sd: Skip write protect groups check in CMD24/25 for high capacity cards
commit19fa6c9e9bc2061be39b0337a9eee859563e272a
authorBin Meng <bin.meng@windriver.com>
Tue, 16 Feb 2021 15:02:24 +0000 (16 23:02 +0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 19 Feb 2021 23:17:09 +0000 (20 00:17 +0100)
tree5235e7ec6f1245f3291525d2058cefd5bc801d43
parent2473dc4022458dcc05ec367ce97edbef29d7e50c
hw/sd: sd: Skip write protect groups check in CMD24/25 for high capacity cards

High capacity cards don't support write protection hence we should
not perform the write protect groups check in CMD24/25 for them.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210216150225.27996-8-bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/sd/sd.c