]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/mips: Mark Loonson3 Virt machine devices as little-endian
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 12 Feb 2025 08:38:26 +0000 (09:38 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 16 Feb 2025 13:41:46 +0000 (14:41 +0100)
commit8970e2ea01f91c3162c36c731ea9720cb0df9bff
tree4f465e0a3749b5acd8704560cd3fe8a0de1e6116
parent7830a2ea8053e4dbe2466dba6a13204873a0ef87
hw/mips: Mark Loonson3 Virt machine devices as little-endian

The Loonson3 Virt machine is only built as little-endian.
Therefore the DEVICE_NATIVE_ENDIAN definition expand to
DEVICE_LITTLE_ENDIAN (besides, the DEVICE_BIG_ENDIAN case
isn't tested). Simplify directly using DEVICE_LITTLE_ENDIAN.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250212113938.38692-4-philmd@linaro.org>
hw/mips/loongson3_virt.c