serial-mm: add endianness property
commit80b2eed95dd6397541cc4d7ec36db0e182a8f402
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 23 Oct 2019 16:07:03 +0000 (23 18:07 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Jan 2020 13:24:29 +0000 (7 17:24 +0400)
tree1854959962dbb3920dc8d7884f1f050e3cdea655
parent17fd1a6490b1d66cdfa60c67060e63da71a43a51
serial-mm: add endianness property

Add a qdev property for endianness, so memory region setup can be done
in realize.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/char/serial.c
include/hw/char/serial.h