On 12/19/25 08:30, Philippe Mathieu-Daudé wrote:
These devices are only used by the AVR target, which is only
built as little-endian. Therefore the DEVICE_NATIVE_ENDIAN
definition expand to DEVICE_LITTLE_ENDIAN (besides, the
DEVICE_BIG_ENDIAN case isn't tested). Simplify directly
using DEVICE_LITTLE_ENDIAN.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
hw/char/avr_usart.c | 2 +-
hw/misc/avr_power.c | 2 +-
hw/timer/avr_timer16.c | 6 +++---
target/avr/helper.c | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
AVR is all single byte accesses -- it doesn't matter about endianness. :-)
Reviewed-by: Richard Henderson <[email protected]>
r~