summary refs log tree commit diff stats
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-11 16:38:01 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-24 10:41:42 +0200
commit0ab318ca3c0b370ff82e9fabf80633cc93d0574e (patch)
treee6d09a85c7334cde5d01c500fefbe62f387d7620 /hw/avr/arduino.c
parenteded0d1a485f3e6279142b88edf444e5e764c9a6 (diff)
downloadfocaccia-qemu-0ab318ca3c0b370ff82e9fabf80633cc93d0574e.tar.gz
focaccia-qemu-0ab318ca3c0b370ff82e9fabf80633cc93d0574e.zip
hw/sd/sdcard: Factor sd_req_get_rca() method out
Extract sd_req_get_rca() so we can re-use it in various
SDProto handlers. Return a 16-bit value since RCA is 16-bit.

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-15-philmd@linaro.org>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions