mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-27 23:35:10 +00:00
![]() The implementation of code changes manages the transmit FIFO (TxFIFO) in the UART driver. The added code snippet includes a sequence of instructions that ensures efficient handling of data transmission and synchronization with the host software. The code first checks the TxFIFO empty flag to determine whether there is data available for transmission. If the TxFIFO is not empty, the code waits until it becomes empty, ensuring that the transmit operation is synchronized with the availability of data. Subsequently, the code monitors the transmit operation's activity status. It waits until the transmit operation becomes inactive, indicating the completion of the previous transmission. This synchronization step ensures that new data can be added to the TxFIFO without causing any loss of transmission time. Update console_flush() function, the function waits for the Transmitter FIFO to empty and checks the transmitter's active state. If the transmitter is in an active state, it means it is currently shifting out a character. Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> Change-Id: I9d6c05bdfb9270924b40bf1f6ecb5fe541a2242e |
||
---|---|---|
.. | ||
allwinner | ||
amlogic | ||
arm | ||
auth | ||
brcm | ||
cadence | ||
cfi/v2m | ||
clk | ||
console | ||
coreboot/cbmem_console/aarch64 | ||
delay_timer | ||
fwu | ||
gpio | ||
imx | ||
intel/soc/stratix10/io | ||
io | ||
marvell | ||
measured_boot | ||
mentor/i2c | ||
mmc | ||
mtd | ||
nxp | ||
partition | ||
rambus | ||
renesas | ||
rpi3 | ||
scmi-msg | ||
st | ||
synopsys | ||
ti/uart | ||
ufs | ||
usb |