diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2024-01-08 17:08:58 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-01-20 13:01:57 +0300 |
commit | 143d230d51a8f125804cb75a9bbc430e91027f61 (patch) | |
tree | fb2d86625cfd5f986e9bbdcb64e47a54e31d6eab /hw/block/ecc.c | |
parent | 731783ff1e7fced41dc857a0e39deadaf8ae2477 (diff) | |
download | qemu-143d230d51a8f125804cb75a9bbc430e91027f61.zip qemu-143d230d51a8f125804cb75a9bbc430e91027f61.tar.gz qemu-143d230d51a8f125804cb75a9bbc430e91027f61.tar.bz2 |
hw/pflash: use ldn_{be,le}_p and stn_{be,le}_p
Use the helper functions we have to read/write multi-byte values
in correct byte order.
Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240108160900.104835-3-kraxel@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit 5dd58358a57048e5ceabf5c91c0544f4f56afdcd)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/block/ecc.c')
0 files changed, 0 insertions, 0 deletions