~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: b9f35ed36e681135e631539fa4da3a99f9898f73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: GPL-2.0+

#include <debug_uart.h>
#include <asm/sbi.h>

static inline void _debug_uart_init(void)
{
}

static inline void _debug_uart_putc(int c)
{
	if (CONFIG_IS_ENABLED(RISCV_SMODE))
		sbi_console_putchar(c);
}

DEBUG_UART_FUNCS