summaryrefslogtreecommitdiff
path: root/src/soc/rockchip/common/uart.c
blob: b98f182d7cea29b718ef83d7d13ce2497012cb21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0-only */

#include <console/uart.h>
#include <soc/clock.h>
#include <stdint.h>

unsigned int uart_platform_refclk(void)
{
	return OSC_HZ;
}

uintptr_t uart_platform_base(unsigned int idx)
{
	return CONFIG_CONSOLE_SERIAL_UART_ADDRESS;
}