aboutsummaryrefslogtreecommitdiff
path: root/board/kontron/sl28/common.c
blob: 33c6843c3f7159a6d3e4e3a470c07f5840e70556 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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;
}