diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-07-17 13:36:08 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-07-17 13:36:08 +0100 |
commit | 977a15f4805b0fcc72243581fd9a4e4b6ac4d3b4 (patch) | |
tree | 4fb2bfdb2f261239148eecdece3b448faecee675 /hw/char/cmsdk-apb-uart.c | |
parent | 775df84e48bffba8cb188eecdf7872923d6e15d7 (diff) |
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 <peter.maydell@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: 1500029487-14822-4-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/char/cmsdk-apb-uart.c')
-rw-r--r-- | hw/char/cmsdk-apb-uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |