mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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
This commit is contained in:
parent
775df84e48
commit
977a15f480
2 changed files with 89 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue