summary refs log tree commit diff stats
path: root/hw/sd/sd.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-14 01:20:22 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-24 10:41:42 +0200
commit0e93b3b30b29b3e23eabf5ba759315cece761a9c (patch)
tree97b4aef819ffeb4a99a1d2a6ff349acd1321cced /hw/sd/sd.c
parent913638464c5cc244545af0a7f2a1c32c5780d6a4 (diff)
downloadfocaccia-qemu-0e93b3b30b29b3e23eabf5ba759315cece761a9c.tar.gz
focaccia-qemu-0e93b3b30b29b3e23eabf5ba759315cece761a9c.zip
hw/sd/sdcard: Trace update of block count (CMD23)
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Tested-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20240621080554.18986-12-philmd@linaro.org>
Diffstat (limited to 'hw/sd/sd.c')
-rw-r--r--hw/sd/sd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 4afb6988c7..44225bae9b 100644
--- a/hw/sd/sd.c
+++ b/hw/sd/sd.c
@@ -1090,6 +1090,7 @@ static sd_rsp_type_t sd_cmd_SET_BLOCK_COUNT(SDState *sd, SDRequest req)
     }
 
     sd->multi_blk_cnt = req.arg;
+    trace_sdcard_set_block_count(sd->multi_blk_cnt);
 
     return sd_r1;
 }