summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-riscv/uart.c
blob: d742c7dfabf522989cc257ad153a63fc6d6cf609 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

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

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