AVR is always little-endian, making the conversion easy.
Philippe Mathieu-Daudé (3):
hw/avr: Mark AVR-specific peripherals as little-endian
target/avr: Inline translator_lduw()
configs/targets: Forbid AVR to use legacy native endianness API
configs/targets/avr-softmmu.mak | 1 -
hw/char/avr_usart.c | 2 +-
hw/misc/avr_power.c | 2 +-
hw/timer/avr_timer16.c | 6 +++---
target/avr/helper.c | 4 ++--
target/avr/translate.c | 2 +-
6 files changed, 8 insertions(+), 9 deletions(-)
--
2.52.0