summary refs log tree commit diff stats
path: root/hw/i2c/allwinner-i2c.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-11-06 23:24:04 +0000
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-02-16 14:34:51 +0100
commit8a8c92c8afbb8a153968a72dd4ce504884a3209d (patch)
treed7db77a85b48af1033d5892ffeb379b9b319e2e9 /hw/i2c/allwinner-i2c.c
parentdf1f35ab67e50f572934b7ea705764b77cf6d525 (diff)
downloadfocaccia-qemu-8a8c92c8afbb8a153968a72dd4ce504884a3209d.tar.gz
focaccia-qemu-8a8c92c8afbb8a153968a72dd4ce504884a3209d.zip
hw/char/xilinx_uartlite: Make device endianness configurable
Replace the DEVICE_NATIVE_ENDIAN MemoryRegionOps by a pair of
DEVICE_LITTLE_ENDIAN / DEVICE_BIG_ENDIAN.

Add the "endianness" property to select the device endianness.
This property is unspecified by default, and machines need to
set it explicitly.

Set the proper endianness for each machine using the device.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250213122217.62654-6-philmd@linaro.org>
Diffstat (limited to 'hw/i2c/allwinner-i2c.c')
0 files changed, 0 insertions, 0 deletions