Skip to content

Commit

Permalink
tqma serial: Fix return of uart_putchar
Browse files Browse the repository at this point in the history
Signed-off-by: Indan Zupancic <[email protected]>
  • Loading branch information
Indanz committed Nov 27, 2024
1 parent 812a22c commit dd18d99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libplatsupport/src/plat/tqma8xqp1gb/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ int uart_putchar(ps_chardevice_t *d, int c)
/* Wait to be able to transmit. */
while (!(*UART_REG(d, STAT) & STAT_TDRE)) { }
*UART_REG(d, TRANSMIT_RECEIVE) = c;
return 0;
}


Expand Down

0 comments on commit dd18d99

Please sign in to comment.