aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/allwinner-sramc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/allwinner-sramc.c')
-rw-r--r--hw/misc/allwinner-sramc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/allwinner-sramc.c b/hw/misc/allwinner-sramc.c
index a20b0b4..51df5e4 100644
--- a/hw/misc/allwinner-sramc.c
+++ b/hw/misc/allwinner-sramc.c
@@ -104,7 +104,7 @@ static void allwinner_sramc_write(void *opaque, hwaddr offset,
static const MemoryRegionOps allwinner_sramc_ops = {
.read = allwinner_sramc_read,
.write = allwinner_sramc_write,
- .endianness = DEVICE_NATIVE_ENDIAN,
+ .endianness = DEVICE_LITTLE_ENDIAN,
.valid = {
.min_access_size = 4,
.max_access_size = 4,