arm-trusted-firmware/drivers
Pali Rohár 0d06b058a5 marvell: uart: a3720: Increase TX FIFO EMPTY timeout from 2ms to 3ms
TX FIFO has space for 32 characters. With default UART baudrate 115200 it
takes more than 2ms to transmit all 32 characters, so wait at least 3ms
before flushing TX FIFO.

If WTMI firmware transmitted something via UART before TF-A was booted,
some characters may still wait in TX FIFO when TF-A is initializing UART
driver. So wait at least 3ms to ensure that HW has enough time to transmit
all characters waiting in TX FIFO.

This fixes an issue where sometimes characters transmitted on UART by our
custom WTMI image are lost.

Signed-off-by: Pali Rohár <pali@kernel.org>
Change-Id: I8ea4ea58e4ba3e0c0d7f47e679171b9b94442f19
2021-02-16 11:56:24 +01:00
..
allwinner plat/allwinner: Only enable DRIVEVBUS if really needed 2020-08-17 11:13:59 +01:00
amlogic Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
arm Merge "Increase type widths to satisfy width requirements" into integration 2020-10-18 14:51:00 +00:00
auth Crypto library: Migrate support to MbedTLS v2.24.0 2020-10-01 11:12:18 +00:00
brcm driver: brcm: add RNG driver 2020-07-13 18:01:19 +05:30
cadence/uart/aarch64 cadence: Change logic in uart driver 2021-01-11 17:28:00 +00:00
cfi/v2m coverity: fix MISRA violations 2020-02-18 10:47:46 -06:00
console Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
coreboot/cbmem_console/aarch64 Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
delay_timer include: move MHZ_TICKS_PER_SEC to utils_def.h 2020-02-20 09:25:45 -08:00
gpio Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
imx Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
intel/soc/stratix10/io io: change seek offset to signed long long 2020-01-10 21:14:57 +01:00
io Merge "io_fip: return -ENFILE when a file is already open" into integration 2020-07-21 21:41:51 +00:00
marvell marvell: uart: a3720: Increase TX FIFO EMPTY timeout from 2ms to 3ms 2021-02-16 11:56:24 +01:00
measured_boot Merge "Measured Boot Driver: Fix MISRA-C 2012 defects" into integration 2020-10-01 18:18:32 +00:00
mentor/i2c Enable -Wlogical-op always 2019-11-19 08:53:21 -06:00
mmc mmc: increase delay between ACMD41 retries 2019-10-03 11:17:31 +02:00
mtd nand: raw_nand: fix timeout issue in nand_wait_ready 2020-09-24 09:32:23 +02:00
partition drivers: partition: support different block size 2019-09-18 18:18:20 +08:00
renesas renesas: rzg: emmc: Enable RZ/G2M support 2021-01-13 19:15:57 +00:00
rpi3 rpi3: gpio: Simplify GPIO setup 2020-03-17 12:44:09 +00:00
scmi-msg drivers: move scmi-msg out of st 2021-01-20 11:37:14 +08:00
st drivers: move scmi-msg out of st 2021-01-20 11:37:14 +08:00
synopsys Merge changes from topic "jc/shift-overflow" into integration 2019-07-16 10:11:27 +00:00
ti/uart Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
ufs drivers: ufs: Extend the delay after reset to wait for some slower chips 2019-05-13 17:11:07 -07:00