arm-trusted-firmware/include/drivers
Pali Rohár b8e637f49e marvell: uart: a3720: Fix macro name for 6th bit of Status Register
This patch does not change code, it only updates comments and macro name
for 6th bit of Status Register. So TF-A binary stay same.

6th bit of the Status Register is named TX EMPTY and is set to 1 when both
Transmitter Holding Register (THR) or Transmitter Shift Register (TSR) are
empty. It is when all characters were already transmitted.

There is also TX FIFO EMPTY bit in the Status Register which is set to 1
only when THR is empty.

In both console_a3700_core_init() and console_a3700_core_flush() functions
we should wait until both THR and TSR are empty therefore we should check
6th bit of the Status Register.

So current code is correct, just had misleading macro names and comments.
This change fixes this "documentation" issue, fixes macro name for 6th bit
of the Status Register and also updates comments.

Signed-off-by: Pali Rohár <pali@kernel.org>
Change-Id: I19e4e7f53a90bcfb318e6dd1b1249b6cbf81c4d3
2021-01-18 12:52:55 +01:00
..
allwinner allwinner: Return the PMIC to I2C mode after use 2020-12-13 22:58:21 -06:00
amlogic meson: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
arm drivers: arm: gicv3: Allow detecting number of cores 2020-09-29 13:28:25 +01:00
auth Crypto library: Migrate support to MbedTLS v2.24.0 2020-10-01 11:12:18 +00:00
brcm Fix typo in file Header guard 2020-06-22 13:52:08 +05:30
cadence cadence: Change logic in uart driver 2021-01-11 17:28:00 +00:00
cfi Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
coreboot coreboot: Use generic base address 2020-02-25 09:34:38 +00:00
io drivers: Add support to retrieve plat_toc_flags 2020-04-01 12:36:02 +05:30
marvell marvell: uart: a3720: Fix macro name for 6th bit of Status Register 2021-01-18 12:52:55 +01:00
measured_boot Select the Log Level for the Event Log Dump on Measured Boot at build time. 2020-09-22 14:54:50 +01:00
mentor Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
partition drivers: partition: support different block size 2019-09-18 18:18:20 +08:00
renesas/rcar/console rcar: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
rpi3 rpi3: gpio: Simplify GPIO setup 2020-03-17 12:44:09 +00:00
st stm32mp1: get peripheral base address from a define 2020-10-13 11:27:40 +02:00
synopsys drivers: synopsys: Fix synopsys MMC driver 2019-03-12 14:39:50 +08:00
ti/uart 16550: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
console.h Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
console_assertions.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
delay_timer.h delay: correct timeout_init_us() 2019-10-08 11:13:06 +02:00
dw_ufs.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
generic_delay_timer.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
gpio.h Factor out cross-BL API into export headers suitable for 3rd party code 2019-07-23 20:25:34 -07:00
mmc.h drivers: mmc: Fix some issues with MMC stack 2019-03-07 11:34:20 +08:00
nand.h Add raw NAND framework 2020-01-20 11:32:59 +01:00
raw_nand.h nand: raw_nand: fix timeout issue in nand_wait_ready 2020-09-24 09:32:23 +02:00
spi_mem.h Add SPI-MEM framework 2020-01-20 11:32:59 +01:00
spi_nand.h Add SPI-NAND framework 2020-01-20 11:32:59 +01:00
spi_nor.h Add SPI-NOR framework 2020-01-20 11:32:59 +01:00
ufs.h Update base code to not rely on undefined overflow behaviour 2019-07-12 09:12:19 +01:00