We want to remove the bogus DEVICE_NATIVE_ENDIAN definition, by making it explicit (either big or little).
I'll follow with one series for each architecture. These devices seem used by more than one, so I took them apart. Also remove from rust API ASAP. tag: https://gitlab.com/philmd/qemu/-/tags/endian_misc_hw-v2 CI: https://gitlab.com/philmd/qemu/-/pipelines/2231223066 Philippe Mathieu-Daudé (8): hw/arm/Kconfig: Have FSL_IMX6UL SoC select IMX_USBPHY hw/net/opencores: Clarify MMIO read/write handlers expect 32-bit access hw/char/serial: Let compiler pick serial_mm_ops[] array length hw/misc/pvpanic: Expose MMIO interface as little-endian hw/timer/hpet: Mark implementation as being little-endian hw/char/pl011: Mark implementation as being little-endian rust/system: Stop exposing bogus DEVICE_NATIVE_ENDIAN symbol target/hexagon: Include missing 'cpu.h' header in 'internal.h' target/hexagon/internal.h | 2 +- hw/char/pl011.c | 2 +- hw/char/serial-mm.c | 2 +- hw/misc/pvpanic.c | 1 + hw/net/opencores_eth.c | 15 +++++++++------ hw/timer/hpet.c | 2 +- hw/arm/Kconfig | 1 + hw/usb/Kconfig | 1 - rust/hw/char/pl011/src/device.rs | 2 +- rust/hw/timer/hpet/src/device.rs | 2 +- rust/system/src/memory.rs | 6 ------ 11 files changed, 17 insertions(+), 19 deletions(-) -- 2.52.0
