serial: start making SerialMM a sysbus device
commit490a9d9b36bfa22a6b46b27e6e9e84e1bac44c68
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 23 Oct 2019 15:50:06 +0000 (23 17:50 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Jan 2020 13:23:30 +0000 (7 17:23 +0400)
tree43f06f0768176835bf5eff8911687c9721e3fb1e
parentb9975000a008c5b0801e3d24ed113a1bd2767ed5
serial: start making SerialMM a sysbus device

Memory mapped serial device is in fact a sysbus device. The following
patches will make use of sysbus facilities for resource and
registration. In particular, "serial-mm: use sysbus facilities" will
move internal serial realization to serial_mm_realize callback to
follow qdev best practices.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
hw/char/omap_uart.c
hw/char/serial.c
hw/mips/boston.c
hw/mips/mips_malta.c
include/hw/char/serial.h