提交 688491c7 编写于 作者: P Philippe Mathieu-Daudé 提交者: Peter Maydell

sdcard: handle the Security Specification commands

returning sd_illegal, since they are not implemented.
Signed-off-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: NAlistair Francis <alistair.francis@xilinx.com>
Message-id: 20180215221325.7611-11-f4bug@amsat.org
[PMM: tweak multiline comment format]
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
上级 49fb7381
...@@ -1546,6 +1546,18 @@ static sd_rsp_type_t sd_app_command(SDState *sd, ...@@ -1546,6 +1546,18 @@ static sd_rsp_type_t sd_app_command(SDState *sd,
} }
break; break;
case 18: /* Reserved for SD security applications */
case 25:
case 26:
case 38:
case 43 ... 49:
/* Refer to the "SD Specifications Part3 Security Specification" for
* information about the SD Security Features.
*/
qemu_log_mask(LOG_UNIMP, "SD: CMD%i Security not implemented\n",
req.cmd);
return sd_illegal;
default: default:
/* Fall back to standard commands. */ /* Fall back to standard commands. */
return sd_normal_command(sd, req); return sd_normal_command(sd, req);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册