diff options
Diffstat (limited to 'src/soc/ti/am335x')
-rw-r--r-- | src/soc/ti/am335x/uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/ti/am335x/uart.c b/src/soc/ti/am335x/uart.c index b19ba96aec..0543475d84 100644 --- a/src/soc/ti/am335x/uart.c +++ b/src/soc/ti/am335x/uart.c @@ -149,7 +149,7 @@ uintptr_t uart_platform_base(unsigned int idx) void uart_init(unsigned int idx) { struct am335x_uart *uart = uart_platform_baseptr(idx); - uint16_t div = (uint16_t) uart_baudrate_divisor( + uint16_t div = (uint16_t)uart_baudrate_divisor( get_uart_baudrate(), uart_platform_refclk(), 16); am335x_uart_init(uart, div); } |