diff options
author | Manish Pandey <manish.pandey2@arm.com> | 2020-01-14 14:09:58 +0000 |
---|---|---|
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2020-01-14 14:09:58 +0000 |
commit | 22c2316dfee99e141087b4d050fbdc5b3644dcd8 (patch) | |
tree | 415731c61cf3a3b74a35aee0b94eff2c5c73e2b4 /include/drivers | |
parent | 2049b6f9943aaf95973e7ae947a8037907c6730f (diff) | |
parent | cd50ffd2fcbebc47173174151919333960ebe732 (diff) | |
download | trusted-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.h | 5 |
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); |