aboutsummaryrefslogtreecommitdiff
path: root/include/drivers
diff options
context:
space:
mode:
authorManish Pandey <manish.pandey2@arm.com>2020-01-14 14:09:58 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-01-14 14:09:58 +0000
commit22c2316dfee99e141087b4d050fbdc5b3644dcd8 (patch)
tree415731c61cf3a3b74a35aee0b94eff2c5c73e2b4 /include/drivers
parent2049b6f9943aaf95973e7ae947a8037907c6730f (diff)
parentcd50ffd2fcbebc47173174151919333960ebe732 (diff)
downloadtrusted-firmware-a-22c2316dfee99e141087b4d050fbdc5b3644dcd8.tar.gz
Merge "console: 16550: Prepare for skipping initialisation" into integration
Diffstat (limited to 'include/drivers')
-rw-r--r--include/drivers/ti/uart/uart_16550.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/drivers/ti/uart/uart_16550.h b/include/drivers/ti/uart/uart_16550.h
index 32e38f0ac1..2b95fa33a6 100644
--- a/include/drivers/ti/uart/uart_16550.h
+++ b/include/drivers/ti/uart/uart_16550.h
@@ -87,6 +87,11 @@ typedef struct {
* framework. The |console| pointer must point to storage that will be valid
* for the lifetime of the console, such as a global or static local variable.
* Its contents will be reinitialized from scratch.
+ * When |clock| has a value of 0, the UART will *not* be initialised. This
+ * means the UART should already be enabled and the baudrate and clock setup
+ * should have been done already, either by platform specific code or by
+ * previous firmware stages. The |baud| parameter will be ignored in this
+ * case as well.
*/
int console_16550_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
console_16550_t *console);