hw/sd: ssi-sd: Fix SEND_IF_COND (CMD8) response
commit6ae29af3ed4b24dc733ed4186ebe906b6d1063cd
authorBin Meng <bin.meng@windriver.com>
Thu, 28 Jan 2021 06:30:33 +0000 (28 14:30 +0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 19 Feb 2021 23:17:09 +0000 (20 00:17 +0100)
tree71e9fda95765b1a901e220192d35695be1956d5d
parentd56f3efa28043d17ca0c71752dbde81b25a042cb
hw/sd: ssi-sd: Fix SEND_IF_COND (CMD8) response

The SEND_IF_COND command (CMD8) response is of format R7, but
current code returns R1 for CMD8. Fix it.

Fixes: 775616c3ae8c ("Partial SD card SPI mode support")
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210128063035.15674-8-bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/sd/ssi-sd.c