OpenRISC is always big-endian, making the conversion easy. Besides a lot of preliminary cleanup are already merged:
. 5b67dbf1dc3 target/openrisc: Replace target_ulong -> uint32_t . 500708331e3 target/openrisc: Inline tcg_gen_trunc_i64_tl() . 4f6c60683f2 target/openrisc: Replace MO_TE -> MO_BE . 73cd283e58d target/openrisc: Introduce mo_endian() helper . 2f737e19a4d target/openrisc: Conceal MO_TE within do_store() . 22c36c0a20c target/openrisc: Conceal MO_TE within do_load() . ef797ac0025 target/openrisc: Explode MO_TExx -> MO_TE | MO_xx . 81e2fb236b7 target/openrisc: Remove 'TARGET_LONG_BITS != 32' dead code . 9dc4862dc4a target/openrisc: Use vaddr type for $pc jumps . 2367c94cbb1 target/openrisc: Remove target_ulong use in raise_mmu_exception() . 1843e89bec5 target/openrisc: Remove unused cpu_openrisc_map_address_*() handlers . a3c4facd395 target/openrisc: Do not use target_ulong for @mr in MTSPR helper . 2795bc52af4 target/openrisc: Replace VMSTATE_UINTTL() -> VMSTATE_UINT32() Philippe Mathieu-Daudé (3): target/openrisc: Use explicit big-endian LD/ST API target/openrisc: Inline translator_ldl() configs/targets: Forbid OpenRISC to use legacy native endianness APIs configs/targets/or1k-linux-user.mak | 1 - configs/targets/or1k-softmmu.mak | 1 - target/openrisc/gdbstub.c | 2 +- target/openrisc/translate.c | 3 ++- 4 files changed, 3 insertions(+), 4 deletions(-) -- 2.52.0
