1 /*
2  * SPDX-License-Identifier: BSD-2-Clause
3  *
4  * Copyright (c) 2019 Western Digital Corporation or its affiliates.
5  *
6  * Authors:
7  *   Anup Patel <anup.patel@wdc.com>
8  */
9 
10 #ifndef __SERIAL_SIFIVE_UART_H__
11 #define __SERIAL_SIFIVE_UART_H__
12 
13 #include <sbi/sbi_types.h>
14 
15 void sifive_uart_putc(char ch);
16 
17 int sifive_uart_getc(void);
18 
19 int sifive_uart_init(unsigned long base, u32 in_freq, u32 baudrate);
20 
21 #endif
22