From 977a15f4805b0fcc72243581fd9a4e4b6ac4d3b4 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Mon, 17 Jul 2017 13:36:08 +0100 Subject: hw/arm/mps2: Add UARTs Add the UARTs to the MPS2 board models. Unfortunately the details of the wiring of the interrupts through various OR gates differ between AN511 and AN385 so this can't be purely a data-driven difference. Signed-off-by: Peter Maydell Reviewed-by: Alistair Francis Message-id: 1500029487-14822-4-git-send-email-peter.maydell@linaro.org --- hw/char/cmsdk-apb-uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/char/cmsdk-apb-uart.c') diff --git a/hw/char/cmsdk-apb-uart.c b/hw/char/cmsdk-apb-uart.c index ab34729cb2..1ad1e14295 100644 --- a/hw/char/cmsdk-apb-uart.c +++ b/hw/char/cmsdk-apb-uart.c @@ -339,7 +339,7 @@ static void cmsdk_apb_uart_realize(DeviceState *dev, Error **errp) * an event handler to deal with CHR_EVENT_BREAK. */ qemu_chr_fe_set_handlers(&s->chr, uart_can_receive, uart_receive, - NULL, s, NULL, true); + NULL, NULL, s, NULL, true); } static int cmsdk_apb_uart_post_load(void *opaque, int version_id) -- cgit 1.4.1