]> git.ipfire.org Git - thirdparty/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)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 20 Jan 2024 10:29:58 +0000 (13:29 +0300)
commitdd25df302e8e3c6a095d70c9e23482683c56a14d
treec93ff32d6f6c85743310f87c417ac7ce29723ef9
parentd83b0f64aaa366744046db61c9caae9991f64940
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>
hw/block/pflash_cfi01.c