arm-trusted-firmware/drivers
Prasad Kummari e27bebb0fe fix(cadence): update console flush uart driver
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
2023-09-06 13:37:30 +02:00
..
allwinner refactor(allwinner): use fdt_node_is_enabled() in AXP driver 2023-02-03 13:31:28 +00:00
amlogic refactor(libc): clean up dependencies in libc 2022-09-22 13:23:49 +02:00
arm Merge "fix(fvp): extract core id from mpidr for pwrc operations" into integration 2023-08-08 21:27:23 +02:00
auth feat(auth): measure and publicise the Public Key 2023-07-28 09:01:15 +01:00
brcm fix(tree): correct some typos 2023-05-09 15:57:12 +01:00
cadence fix(cadence): update console flush uart driver 2023-09-06 13:37:30 +02:00
cfi/v2m coverity: fix MISRA violations 2020-02-18 10:47:46 -06:00
clk feat(clk): add a minimal clock framework 2021-12-22 13:07:23 +01:00
console fix(console): correct scopes for console symbols 2023-01-10 18:59:58 +01: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
fwu fix(fwu): rename is_fwu_initialized 2022-03-28 09:10:11 +02:00
gpio Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
imx fix: unify fallthrough annotations 2022-12-01 16:17:24 +00:00
intel/soc/stratix10/io io: change seek offset to signed long long 2020-01-10 21:14:57 +01:00
io chore(io): remove io_dummy driver 2023-04-28 15:45:43 +02:00
marvell fix(tree): correct some typos 2023-05-09 15:57:12 +01:00
measured_boot feat(rss): set the signer-ID in the RSS metadata 2023-07-28 09:01:15 +01:00
mentor/i2c Enable -Wlogical-op always 2019-11-19 08:53:21 -06:00
mmc fix(mmc): remove redundant reset_to_idle call 2023-03-01 17:23:49 +01:00
mtd fix(spi-nand): add Quad Enable management 2023-05-31 18:03:28 +02:00
nxp feat(imx93): add the trdc driver 2023-06-30 10:24:05 +08:00
partition fix(partition): add missing curly braces 2022-12-07 14:16:48 +01:00
rambus drivers/rambus: add TRNG-IP-76 driver 2021-02-11 09:43:18 +00:00
renesas fix(tree): correct some typos 2023-05-09 15:57:12 +01:00
rpi3 fix(rpi3): initialize SD card host controller 2023-04-13 10:29:51 +01:00
scmi-msg fix(scmi): add parameter for plat_scmi_clock_rates_array 2023-08-21 19:46:52 +08:00
st fix(st-uart): correctly check UART enabled in flush fonction 2023-06-28 18:09:32 +02: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 fix(ufs): set data segment length 2023-08-28 06:18:04 +02:00
usb fix(usb): correct type in message 2022-02-15 18:09:51 +01:00