mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 10:43:06 +00:00
12 lines
196 B
C
12 lines
196 B
C
|
// SPDX-License-Identifier: GPL-2.0+
|
||
|
|
||
|
#include <common.h>
|
||
|
#include <asm/global_data.h>
|
||
|
|
||
|
DECLARE_GLOBAL_DATA_PTR;
|
||
|
|
||
|
u32 get_lpuart_clk(void)
|
||
|
{
|
||
|
return gd->bus_clk / CONFIG_SYS_FSL_LPUART_CLK_DIV;
|
||
|
}
|