Debian Codegraph @

src/soc/amd/common/block/uart/uart_console.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #include <amdblocks/uart.h>
4 #include <console/uart.h>
5
6 /*
7 * uart_platform_base and uart_platform_refclk are used by the console UART driver and need to
8 * be provided exactly once and only by the UART that is used for console.
9 */
10
11 uintptr_t uart_platform_base(unsigned int idx)
12 {
13 return get_uart_base(idx);
14 }
15
16 unsigned int uart_platform_refclk(void)
17 {
18 return 48000000;
19 }