[Qemu-devel] [PATCH] imx_spi: Unset XCH when TX FIFO becomes empty

2018-07-31 Thread Trent Piepho via Qemu-devel
ince the emulation does not set XCH to 0, there is no rising edge and the next trasfer never begins. Signed-off-by: Trent Piepho --- hw/ssi/imx_spi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/ssi/imx_spi.c b/hw/ssi/imx_spi.c index b66505ca49..02c38c9e47 100644 ---

[Qemu-devel] [PATCH] i.MX: Support serial RS-232 break properly

2018-03-19 Thread Trent Piepho
emulated UART was not setting this status bit. The latter is because the Linux driver expects, in addition to the BRK bit, that the ERR bit is set when a break is read in the FIFO. A break should also count as a frame error, so add that bit too. Cc: Andrey Smirnov Signed-off-by: Trent Piepho