xemu/hw/microblaze
Philippe Mathieu-Daudé c36ec3a965 hw/microblaze/s3adsp1800: Explicit CPU endianness
By default the machine's CPU endianness is 'big' order
('little-endian' property set to %false).

This corresponds to the default when this machine was added;
see commits 6a8b1ae202 "microblaze: Add petalogix s3a1800dsp
MMU linux ref-design." and 72b675caac "microblaze: Hook into
the build-system." which added:

  [ "$target_cpu" = "microblaze" ] && target_bigendian=yes

Later commit 877fdc12b1 ("microblaze: Allow targeting
little-endian mb") added little-endian support, forgetting
to set the CPU endianness to little-endian. Not an issue
since this property was never used, but we will use it soon,
so explicit the endianness to get the expected behavior.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Message-Id: <20241105130431.22564-4-philmd@linaro.org>
2024-11-05 23:31:54 +00:00
..
Kconfig hw/char: Extract serial-mm 2024-10-03 19:33:23 +02:00
boot.c trivial: Simplify the spots that use TARGET_BIG_ENDIAN as a numeric value 2023-09-08 13:08:52 +03:00
boot.h Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
meson.build meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
petalogix_ml605_mmu.c hw/microblaze: Deprecate big-endian petalogix-ml605 & xlnx-zynqmp-pmu 2024-11-05 23:31:43 +00:00
petalogix_s3adsp1800_mmu.c hw/microblaze/s3adsp1800: Explicit CPU endianness 2024-11-05 23:31:54 +00:00
xlnx-zynqmp-pmu.c hw/microblaze: Deprecate big-endian petalogix-ml605 & xlnx-zynqmp-pmu 2024-11-05 23:31:43 +00:00