hw/arm/nseries: Remove invalid/unnecessary n8x0_uart_setup()
commitbdad3654d3c55f478e538037d9eccd204e5fc8ee
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 7 Nov 2020 19:34:01 +0000 (7 20:34 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 10 Nov 2020 11:03:48 +0000 (10 11:03 +0000)
treeb32f44cd107d7b6470e6611be041a713dd10147c
parent2108e5092a67aaaa710845159cab9df514e28716
hw/arm/nseries: Remove invalid/unnecessary n8x0_uart_setup()

omap2420_mpu_init() introduced in commit 827df9f3c5f ("Add basic
OMAP2 chip support") takes care of creating the 3 UARTs.

Then commit 58a26b477e9 ("Emulate a serial bluetooth HCI with H4+
extensions and attach to n8x0's UART") added n8x0_uart_setup()
which create the UART and connects it to an IRQ output,
overwritting the existing peripheral and its IRQ connection.
This is incorrect.

Fortunately we don't need to fix this, because commit 6da68df7f9b
("hw/arm/nseries: Replace the bluetooth chardev with a "null"
chardev") removed the use of this peripheral. We can simply
remove the code.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20201107193403.436146-4-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/nseries.c