mirror of https://github.com/xemu-project/xemu.git
hw/sd/sdcard: Rename sd_cmd_SEND_OP_COND handler
The correct command name is 'SD SEND_OP_COND', rename accordingly. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Cédric Le Goater <clg@redhat.com> Tested-by: Andrew Jeffery <andrew@codeconstruct.com.au> Tested-by: Cédric Le Goater <clg@redhat.com> Message-Id: <20240703134356.85972-4-philmd@linaro.org>
This commit is contained in:
parent
1ca19583e7
commit
a7487722dc
|
@ -1689,7 +1689,7 @@ static sd_rsp_type_t sd_acmd_SET_WR_BLK_ERASE_COUNT(SDState *sd, SDRequest req)
|
|||
}
|
||||
|
||||
/* ACMD41 */
|
||||
static sd_rsp_type_t sd_acmd_SD_APP_OP_COND(SDState *sd, SDRequest req)
|
||||
static sd_rsp_type_t sd_cmd_SEND_OP_COND(SDState *sd, SDRequest req)
|
||||
{
|
||||
if (sd->state != sd_idle_state) {
|
||||
return sd_invalid_state_for_cmd(sd, req);
|
||||
|
@ -2392,7 +2392,7 @@ static const SDProto sd_proto_sd = {
|
|||
[13] = {8, sd_adtc, "SD_STATUS", sd_acmd_SD_STATUS},
|
||||
[22] = {8, sd_adtc, "SEND_NUM_WR_BLOCKS", sd_acmd_SEND_NUM_WR_BLOCKS},
|
||||
[23] = {8, sd_ac, "SET_WR_BLK_ERASE_COUNT", sd_acmd_SET_WR_BLK_ERASE_COUNT},
|
||||
[41] = {8, sd_bcr, "SD_APP_OP_COND", sd_acmd_SD_APP_OP_COND},
|
||||
[41] = {8, sd_bcr, "SEND_OP_COND", sd_cmd_SEND_OP_COND},
|
||||
[42] = {8, sd_ac, "SET_CLR_CARD_DETECT", sd_acmd_SET_CLR_CARD_DETECT},
|
||||
[51] = {8, sd_adtc, "SEND_SCR", sd_acmd_SEND_SCR},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue