diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-02-12 09:15:48 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-02-16 14:41:46 +0100 |
commit | ba26f1477735a5ad7dd40a3227ac2a54cf82014d (patch) | |
tree | 35d102dc114aedcddcc2056fd5d7b7ff28c62f4f /hw/misc/allwinner-sid.c | |
parent | e87c93df1134516166ff3d8f9a56e168ff7e1c8a (diff) | |
download | qemu-ba26f1477735a5ad7dd40a3227ac2a54cf82014d.zip qemu-ba26f1477735a5ad7dd40a3227ac2a54cf82014d.tar.gz qemu-ba26f1477735a5ad7dd40a3227ac2a54cf82014d.tar.bz2 |
hw/arm: Mark Allwinner Technology devices as little-endian
These devices are only used by the ARM targets, which are
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-2-philmd@linaro.org>
Diffstat (limited to 'hw/misc/allwinner-sid.c')
-rw-r--r-- | hw/misc/allwinner-sid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/allwinner-sid.c b/hw/misc/allwinner-sid.c index 042b747..2bb81f9 100644 --- a/hw/misc/allwinner-sid.c +++ b/hw/misc/allwinner-sid.c @@ -99,7 +99,7 @@ static void allwinner_sid_write(void *opaque, hwaddr offset, static const MemoryRegionOps allwinner_sid_ops = { .read = allwinner_sid_read, .write = allwinner_sid_write, - .endianness = DEVICE_NATIVE_ENDIAN, + .endianness = DEVICE_LITTLE_ENDIAN, .valid = { .min_access_size = 4, .max_access_size = 4, |