commit | eac7ce3de78ee96c3e2b3eb2678682e44078bcdf | [log] [tgz] |
---|---|---|
author | Philippe Mathieu-Daudé <philmd@linaro.org> | Thu Jun 20 18:47:27 2024 +0200 |
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | Mon Jun 24 10:41:42 2024 +0200 |
tree | 62ca69fe962cbfd5a3fd6ffcbfad6382caa3c7b6 | |
parent | 904547845c559d7530a20792d599a77d8e2ae442 [diff] |
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>