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

* drop qemu_char_get_next_serial and use chardev prop
* add pl011_create wrapper function to create pl011 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-2-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/bcm2835_peripherals.c
hw/arm/highbank.c
hw/arm/integratorcp.c
hw/arm/realview.c
hw/arm/stellaris.c
hw/arm/versatilepb.c
hw/arm/vexpress.c
hw/arm/virt.c
hw/char/pl011.c
include/hw/char/pl011.h [new file with mode: 0644]