diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2022-07-12 22:52:42 +0100 |
---|---|---|
committer | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2022-07-18 19:28:46 +0100 |
commit | 2ee1b52db1a22dee7856b140b31fae221f72629c (patch) | |
tree | becac9e8424990a9273b2ed7be8442ed36c417a9 /hw/input | |
parent | 902691d43900a8dc5b1d22c719e49397bfb062ce (diff) |
lasips2: switch register memory region to DEVICE_BIG_ENDIAN
The LASI device (and so also the LASIPS2 device) are only used for the HPPA
B160L machine which is a big endian architecture.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tested-by: Helge Deller <deller@gmx.de>
Acked-by: Helge Deller <deller@gmx.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20220712215251.7944-32-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/input')
-rw-r--r-- | hw/input/lasips2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/input/lasips2.c b/hw/input/lasips2.c index 09d909c843..7bf6077b58 100644 --- a/hw/input/lasips2.c +++ b/hw/input/lasips2.c @@ -245,7 +245,7 @@ static const MemoryRegionOps lasips2_reg_ops = { .min_access_size = 1, .max_access_size = 4, }, - .endianness = DEVICE_NATIVE_ENDIAN, + .endianness = DEVICE_BIG_ENDIAN, }; static void lasips2_realize(DeviceState *dev, Error **errp) |