hw/arm: Mark Allwinner Technology devices as little-endian
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 12 Feb 2025 08:15:48 +0000 (09:15 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 16 Feb 2025 13:41:46 +0000 (14:41 +0100)
commitba26f1477735a5ad7dd40a3227ac2a54cf82014d
tree35d102dc114aedcddcc2056fd5d7b7ff28c62f4f
parente87c93df1134516166ff3d8f9a56e168ff7e1c8a
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>
22 files changed:
hw/arm/allwinner-a10.c
hw/arm/allwinner-h3.c
hw/arm/allwinner-r40.c
hw/i2c/allwinner-i2c.c
hw/intc/allwinner-a10-pic.c
hw/misc/allwinner-a10-ccm.c
hw/misc/allwinner-a10-dramc.c
hw/misc/allwinner-cpucfg.c
hw/misc/allwinner-h3-ccu.c
hw/misc/allwinner-h3-dramc.c
hw/misc/allwinner-h3-sysctrl.c
hw/misc/allwinner-r40-ccu.c
hw/misc/allwinner-r40-dramc.c
hw/misc/allwinner-sid.c
hw/misc/allwinner-sramc.c
hw/net/allwinner-sun8i-emac.c
hw/net/allwinner_emac.c
hw/rtc/allwinner-rtc.c
hw/sd/allwinner-sdhost.c
hw/ssi/allwinner-a10-spi.c
hw/timer/allwinner-a10-pit.c
hw/watchdog/allwinner-wdt.c