soc/rockchip/rk3288/gpio.c: Use GPIOx_BASE macros
[coreboot.git] / src / soc / rockchip / common / uart.c
blobb98f182d7cea29b718ef83d7d13ce2497012cb21
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <console/uart.h>
4 #include <soc/clock.h>
5 #include <stdint.h>
7 unsigned int uart_platform_refclk(void)
9 return OSC_HZ;
12 uintptr_t uart_platform_base(unsigned int idx)
14 return CONFIG_CONSOLE_SERIAL_UART_ADDRESS;