diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-06-11 16:38:01 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-06-24 10:41:42 +0200 |
commit | 0ab318ca3c0b370ff82e9fabf80633cc93d0574e (patch) | |
tree | e6d09a85c7334cde5d01c500fefbe62f387d7620 /scripts/qapi | |
parent | eded0d1a485f3e6279142b88edf444e5e764c9a6 (diff) | |
download | qemu-0ab318ca3c0b370ff82e9fabf80633cc93d0574e.zip qemu-0ab318ca3c0b370ff82e9fabf80633cc93d0574e.tar.gz qemu-0ab318ca3c0b370ff82e9fabf80633cc93d0574e.tar.bz2 |
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 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions