mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 15:31:22 +01:00

This patch adds support for the UART used by the NOEL-V processor. Cobham Gaisler's NOEL-V RISC-V processor IP is available under GPL and commercial license and is described in more detail at https://www.gaisler.com/noelv. Signed-off-by: Daniel Cederman <cederman@gaisler.com> Reviewed-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
18 lines
333 B
C
18 lines
333 B
C
/*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*
|
|
* Copyright (c) 2021 Cobham Gaisler AB.
|
|
*
|
|
* Authors:
|
|
* Daniel Cederman <cederman@gaisler.com>
|
|
*/
|
|
|
|
#ifndef __SERIAL_GAISLER_APBUART_H__
|
|
#define __SERIAL_GAISLER_APBUART_H__
|
|
|
|
#include <sbi/sbi_types.h>
|
|
|
|
int gaisler_uart_init(unsigned long base, u32 in_freq, u32 baudrate);
|
|
|
|
#endif
|