summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-riscv/uart.c
blob: 19a2b0016c70fc0a09f718a2d955c266fa2b4ef0 (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: GPL-2.0-only */

#include <types.h>
#include <console/uart.h>
#include <mainboard/addressmap.h>

uintptr_t uart_platform_base(unsigned int idx)
{
	return (uintptr_t) QEMU_VIRT_UART0;
}