repo.or.cz
/
coreboot2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git]
/
src
/
soc
/
rockchip
/
common
/
uart.c
blob
b98f182d7cea29b718ef83d7d13ce2497012cb21
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
}