aboutsummaryrefslogtreecommitdiff
path: root/include/sbi_utils/serial/litex-uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sbi_utils/serial/litex-uart.h')
-rw-r--r--include/sbi_utils/serial/litex-uart.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/sbi_utils/serial/litex-uart.h b/include/sbi_utils/serial/litex-uart.h
new file mode 100644
index 0000000..91ab644
--- /dev/null
+++ b/include/sbi_utils/serial/litex-uart.h
@@ -0,0 +1,17 @@
+/*
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (c) 2021 Gabriel Somlo
+ *
+ * Authors:
+ * Gabriel Somlo <gsomlo@gmail.com>
+ */
+
+#ifndef __SERIAL_LITEX_UART_H__
+#define __SERIAL_LITEX_UART_H__
+
+#include <sbi/sbi_types.h>
+
+int litex_uart_init(unsigned long base);
+
+#endif