summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLad Prabhakar <[email protected]>2022-12-10 10:30:07 +0000
committerAnup Patel <[email protected]>2022-12-12 18:50:26 +0530
commit64e8b9f72e986aba25f7cb41218b1a1088042ae3 (patch)
treed112f461f82c6dc51223825f56e1bb9793f985c1 /include
parent506928a1be9952abc52f05c0c661338aa1d66f6d (diff)
lib: utils: serial: Add Renesas SCIF driver
Add Renesas SCIF driver. Based on a patch in the BSP by Takeki Hamada <[email protected]> Link: https://github.com/renesas-rz/rz_opensbi/commits/work/OpenSBI-PMA Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/sbi_utils/serial/renesas-scif.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/sbi_utils/serial/renesas-scif.h b/include/sbi_utils/serial/renesas-scif.h
new file mode 100644
index 00000000..0002a1a7
--- /dev/null
+++ b/include/sbi_utils/serial/renesas-scif.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+/*
+ * Copyright (C) 2022 Renesas Electronics Corporation
+ */
+
+#ifndef __SERIAL_RENESAS_SCIF_H__
+#define __SERIAL_RENESAS_SCIF_H__
+
+int renesas_scif_init(unsigned long base, u32 in_freq, u32 baudrate);
+
+#endif /* __SERIAL_RENESAS_SCIF_H__ */