diff options
Diffstat (limited to 'src/cpu/samsung/exynos5420')
-rw-r--r-- | src/cpu/samsung/exynos5420/uart.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/samsung/exynos5420/uart.c b/src/cpu/samsung/exynos5420/uart.c index c5c8a8c6b4..2ca8271eac 100644 --- a/src/cpu/samsung/exynos5420/uart.c +++ b/src/cpu/samsung/exynos5420/uart.c @@ -63,12 +63,11 @@ static void serial_setbrg_dev(void) { struct s5p_uart *uart = (struct s5p_uart *)base_port; u32 uclk; - u32 baudrate = CONFIG_TTYS0_BAUD; u32 val; // All UARTs share the same clock. uclk = clock_get_periph_rate(PERIPH_ID_UART3); - val = uclk / baudrate; + val = uclk / default_baudrate(); writel(val / 16 - 1, &uart->ubrdiv); |