summary refs log tree commit diff stats
path: root/hw/misc/allwinner-h3-sysctrl.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-11-06 23:24:27 +0000
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-02-16 14:34:57 +0100
commite87c93df1134516166ff3d8f9a56e168ff7e1c8a (patch)
tree5f355ef8078dd6ceeaedc6bd2aacd9a9d9723f02 /hw/misc/allwinner-h3-sysctrl.c
parent8a8c92c8afbb8a153968a72dd4ce504884a3209d (diff)
downloadfocaccia-qemu-e87c93df1134516166ff3d8f9a56e168ff7e1c8a.tar.gz
focaccia-qemu-e87c93df1134516166ff3d8f9a56e168ff7e1c8a.zip
hw/ssi/xilinx_spi: 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 on the single machine using the
device.

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