summaryrefslogtreecommitdiff
path: root/src/soc/rockchip/common/uart.c
blob: 407523443e1b0b574b26cde904b305c2adcda54b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#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(int idx)
{
	return CONFIG_CONSOLE_SERIAL_UART_ADDRESS;
}