]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/sd/sdcard: Use Load/Store API to fill some CID/CSD registers
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 20 Jun 2024 16:47:27 +0000 (18:47 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 24 Jun 2024 08:41:42 +0000 (10:41 +0200)
commiteac7ce3de78ee96c3e2b3eb2678682e44078bcdf
tree62ca69fe962cbfd5a3fd6ffcbfad6382caa3c7b6
parent904547845c559d7530a20792d599a77d8e2ae442
hw/sd/sdcard: Use Load/Store API to fill some CID/CSD registers

The ld/st API helps noticing CID or CSD bytes refer
to the same field. Multi-bytes fields are stored MSB
first in CID / CSD.

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-7-philmd@linaro.org>
hw/sd/sd.c