mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
e87c93df11
commit
ba26f14777
22 changed files with 31 additions and 31 deletions
|
@ -185,7 +185,7 @@ static void a10_pit_write(void *opaque, hwaddr offset, uint64_t value,
|
|||
static const MemoryRegionOps a10_pit_ops = {
|
||||
.read = a10_pit_read,
|
||||
.write = a10_pit_write,
|
||||
.endianness = DEVICE_NATIVE_ENDIAN,
|
||||
.endianness = DEVICE_LITTLE_ENDIAN,
|
||||
};
|
||||
|
||||
static const Property a10_pit_properties[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue