summary refs log tree commit diff stats
path: root/include/hw/core
diff options
context:
space:
mode:
authorSai Pavan Boddu <sai.pavan.boddu@xilinx.com>2022-05-25 09:21:22 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-16 20:28:28 +0200
commit8f25b74a32316b718884796459921696cd43f048 (patch)
tree6ae531273060e1a1c2755987dfc0f4d996169598 /include/hw/core
parentc3561ab6249322893273707016b2b2253d0e89c3 (diff)
downloadfocaccia-qemu-8f25b74a32316b718884796459921696cd43f048.tar.gz
focaccia-qemu-8f25b74a32316b718884796459921696cd43f048.zip
hw/sd/sdcard: Add mmc SWITCH function support (CMD6)
switch operation in mmc cards, updated the ext_csd register to
request changes in card operations. Here we implement similar
sequence but requests are mostly dummy and make no change.

Implement SWITCH_ERROR if the write operation offset goes beyond
length of ext_csd.

Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[PMD: Convert to SDProto handlers, add trace events]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Tested-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20240712162719.88165-11-philmd@linaro.org>
Diffstat (limited to 'include/hw/core')
0 files changed, 0 insertions, 0 deletions