On 11/7/24 01:22, Philippe Mathieu-Daudé wrote:
Replace the DEVICE_NATIVE_ENDIAN MemoryRegionOps by a pair
of DEVICE_LITTLE_ENDIAN / DEVICE_BIG_ENDIAN.
Add the "little-endian" property to select the device
endianness, defaulting to little endian.
Set the proper endianness on the single machine using the
device.

Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
  include/hw/ssi/xilinx_spips.h |  1 +
  hw/arm/xilinx_zynq.c          |  1 +
  hw/ssi/xilinx_spips.c         | 46 ++++++++++++++++++++++++++---------
  3 files changed, 36 insertions(+), 12 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to