hw/sd: sd: Fix CMD30 response type
commit69694973a8ae7381128c17e72ebf55fd592640f5
authorBin Meng <bin.meng@windriver.com>
Tue, 16 Feb 2021 15:02:20 +0000 (16 23:02 +0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 19 Feb 2021 23:17:09 +0000 (20 00:17 +0100)
treee32349e3a4a6dd1ad98d654ea8b95240732f44be
parent245c05134fcf642491eec04e4449f70e043e1b2e
hw/sd: sd: Fix CMD30 response type

Per the "Physical Layer Specification Version 8.00", table 4-26
(SD mode) and table 7-3 (SPI mode) command descriptions, CMD30
response type is R1, not R1b.

Fixes: a1bb27b1e98a ("SD card emulation initial implementation")
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210216150225.27996-4-bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/sd/sd.c