diff options
Diffstat (limited to 'hw/lpc-uart.c')
-rw-r--r-- | hw/lpc-uart.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/lpc-uart.c b/hw/lpc-uart.c index a584eba..834011b 100644 --- a/hw/lpc-uart.c +++ b/hw/lpc-uart.c @@ -128,6 +128,9 @@ static bool uart_timed_out(unsigned long msecs) if (uart_check_tx_room()) return false; + if (chip_quirk(QUIRK_SLOW_SIM)) + msecs *= 5; + if (tb_compare(mftb(), uart_tx_full_time + msecs_to_tb(msecs)) == TB_AAFTERB) return true; |