]> git.proxmox.com Git - mirror_qemu.git/commit
hw/pflash: use ldn_{be,le}_p and stn_{be,le}_p
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 8 Jan 2024 16:08:58 +0000 (17:08 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 19 Jan 2024 11:28:59 +0000 (12:28 +0100)
commit5dd58358a57048e5ceabf5c91c0544f4f56afdcd
tree97c6a6a5033919096403e795c329132c77d11ad7
parent3b14a555fdb627ac091559ef5931c887d06590d8
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>
hw/block/pflash_cfi01.c