diff options
Diffstat (limited to 'roms/opensbi/include/sbi_utils/serial/shakti-uart.h')
-rw-r--r-- | roms/opensbi/include/sbi_utils/serial/shakti-uart.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/roms/opensbi/include/sbi_utils/serial/shakti-uart.h b/roms/opensbi/include/sbi_utils/serial/shakti-uart.h new file mode 100644 index 000000000..08043be11 --- /dev/null +++ b/roms/opensbi/include/sbi_utils/serial/shakti-uart.h @@ -0,0 +1,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 |