char: i.MX: Add support for "TX complete" interrupt
commit46d3fb634cb0e44c6cf0ed3a996d6996f3818c2d
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Thu, 15 Mar 2018 19:11:41 +0000 (15 12:11 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 19 Mar 2018 18:23:24 +0000 (19 18:23 +0000)
tree0df97f413517fd02b42863d096af23199b5c4eb2
parent824e4a12f3de76d3efb3229027a04c1fd69244d5
char: i.MX: Add support for "TX complete" interrupt

Add support for "TX complete"/TXDC interrupt generate by real HW since
it is needed to support guests other than Linux.

Based on the patch by Bill Paul as found here:
https://bugs.launchpad.net/qemu/+bug/1753314

Cc: qemu-devel@nongnu.org
Cc: qemu-arm@nongnu.org
Cc: Bill Paul <wpaul@windriver.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Bill Paul <wpaul@windriver.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Message-id: 20180315191141.6789-2-andrew.smirnov@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/char/imx_serial.c
include/hw/char/imx_serial.h