summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-riscv/uart.c
blob: 8f8a3a32e00a6a8cebb79c46e6b4d7b30a4c56cd (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;
}