aboutsummaryrefslogtreecommitdiff
path: root/hw/rtc/allwinner-rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/rtc/allwinner-rtc.c')
-rw-r--r--hw/rtc/allwinner-rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rtc/allwinner-rtc.c b/hw/rtc/allwinner-rtc.c
index a19e431..fd8355a 100644
--- a/hw/rtc/allwinner-rtc.c
+++ b/hw/rtc/allwinner-rtc.c
@@ -259,7 +259,7 @@ static void allwinner_rtc_write(void *opaque, hwaddr offset,
static const MemoryRegionOps allwinner_rtc_ops = {
.read = allwinner_rtc_read,
.write = allwinner_rtc_write,
- .endianness = DEVICE_NATIVE_ENDIAN,
+ .endianness = DEVICE_LITTLE_ENDIAN,
.valid = {
.min_access_size = 4,
.max_access_size = 4,