forked from Mirrors/opensbi

Instead of having console_putc() and console_getc() callbacks in platform operations, it will be much simpler for console driver to directly register these operations as device to the sbi_console implementation. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Xiang W <wxjstz@126.com>
15 lines
284 B
C
15 lines
284 B
C
/*
|
|
* 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>
|
|
|
|
int shakti_uart_init(unsigned long base, u32 in_freq, u32 baudrate);
|
|
|
|
#endif
|