hw/char: QOM'ify cadence_uart model
authorxiaoqiang zhao <zxq_yx_007@163.com>
Mon, 6 Jun 2016 15:59:31 +0000 (16:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Jun 2016 15:59:31 +0000 (16:59 +0100)
commit4be12ea09acc32f7e1b9d11e9f34969c7ae603ee
tree99006ed7d226c2f34a0c4c35e6179ef445c8b9cc
parentf0d1d2c115dffc1fbaf954d0b449db05c5eb79b1
hw/char: QOM'ify cadence_uart model

* drop qemu_char_get_next_serial and use chardev prop
* create cadence_uart_create wrapper function to create
  cadence_uart_device
* change affected board code to use the new way

Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
Message-id: 1465028065-5855-3-git-send-email-zxq_yx_007@163.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/xilinx_zynq.c
hw/arm/xlnx-zynqmp.c
hw/char/cadence_uart.c
include/hw/char/cadence_uart.h