mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 22:33:18 +00:00
17 lines
259 B
C
17 lines
259 B
C
|
// 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
|