hw/arm/fsl-imx*: Don't create "null" chardevs for serial devices
commitc221287f8ff4e46fffad11bb2a6bc99442e845be
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Apr 2018 14:52:38 +0000 (20 15:52 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 26 Apr 2018 12:57:00 +0000 (26 13:57 +0100)
treee1767e0f8ba73bb53c822e2d953569aba24e1ff9
parent47c4f85a0c27888e12af827471cfef87deb49821
hw/arm/fsl-imx*: Don't create "null" chardevs for serial devices

Following commit 12051d82f004024, UART devices should handle
being passed a NULL pointer chardev, so we don't need to
create "null" backends in board code. Remove the code that
does this and updates serial_hds[].

(fsl-imx7.c was already written this way.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20180420145249.32435-3-peter.maydell@linaro.org
hw/arm/fsl-imx25.c
hw/arm/fsl-imx31.c
hw/arm/fsl-imx6.c