coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
uart.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
console/uart.h
>
4
#include <soc/clock.h>
5
#include <
stdint.h
>
6
7
unsigned
int
uart_platform_refclk
(
void
)
8
{
9
return
OSC_HZ
;
10
}
11
12
uintptr_t
uart_platform_base
(
unsigned
int
idx)
13
{
14
return
CONFIG_CONSOLE_SERIAL_UART_ADDRESS;
15
}
uart.h
uart_platform_base
uintptr_t uart_platform_base(unsigned int idx)
Definition:
uart.c:8
uart_platform_refclk
unsigned int uart_platform_refclk(void)
Definition:
uart.c:85
OSC_HZ
#define OSC_HZ
Definition:
clock.h:9
stdint.h
uintptr_t
unsigned long uintptr_t
Definition:
stdint.h:21
src
soc
rockchip
common
uart.c
Generated by
1.9.1