mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 08:00:26 +09: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;
|
||
|
}
|