summaryrefslogtreecommitdiff
path: root/include/sbi_utils/serial/shakti-uart.h
blob: 08043be110a002e501a5710c10b15a61473d2819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * SPDX-License-Identifier: BSD-2-Clause
 *
 * Copyright (c) 2020 Vijai Kumar K <vijai@behindbytes.com>
 */

#ifndef __SERIAL_SHAKTI_UART_H__
#define __SERIAL_SHAKTI_UART_H__

#include <sbi/sbi_types.h>

void shakti_uart_putc(char ch);

int shakti_uart_getc(void);

int shakti_uart_init(unsigned long base, u32 in_freq, u32 baudrate);

#endif