Michael Walle | 9b3843f | 2021-03-26 19:40:59 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | |||||
3 | #include <common.h> | ||||
4 | #include <asm/global_data.h> | ||||
5 | |||||
6 | DECLARE_GLOBAL_DATA_PTR; | ||||
7 | |||||
8 | u32 get_lpuart_clk(void) | ||||
9 | { | ||||
10 | return gd->bus_clk / CONFIG_SYS_FSL_LPUART_CLK_DIV; | ||||
11 | } |