]> git.ipfire.org Git - thirdparty/qemu.git/commit
goldfish_rtc: Add big-endian property
authorStafford Horne <shorne@gmail.com>
Sun, 12 Jun 2022 11:53:44 +0000 (20:53 +0900)
committerStafford Horne <shorne@gmail.com>
Sun, 4 Sep 2022 06:02:56 +0000 (07:02 +0100)
commit65f5144e1726c36c97df7e70484250941aafaa27
tree9b52b2dcbead78aa6d7c14c1378fa5b52d5f1676
parent0fd8a106efb6bc2e55b3e9629b106d13a7214570
goldfish_rtc: Add big-endian property

Add a new property "big-endian" to allow configuring the RTC as either
little or big endian, the default is little endian.

Currently overriding the default to big endian is only used by the m68k
virt platform.  New platforms should prefer to use little endian and not
set this.

Cc: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
hw/m68k/virt.c
hw/rtc/goldfish_rtc.c
include/hw/rtc/goldfish_rtc.h