hw/char: QOM'ify stm32f2xx_usart model
commit7bd43519da16633d88e9d2faf8077768a1b36ce9
authorxiaoqiang zhao <zxq_yx_007@163.com>
Mon, 6 Jun 2016 15:59:32 +0000 (6 16:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Jun 2016 15:59:32 +0000 (6 16:59 +0100)
treec77fda93c13b71cbf15ff3cdc8caf4e153acd4fe
parent746c3b3eba0d091d2e2d84b63ce4ca3186e212a7
hw/char: QOM'ify stm32f2xx_usart model

* drop qemu_char_get_next_serial and use chardev prop
* change affected board code to use the new way

Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
Message-id: 1465028065-5855-5-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/stm32f205_soc.c
hw/char/stm32f2xx_usart.c