git: 749e318da39e - main - riscv: add starfive kernelconf template
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Feb 2024 22:10:43 UTC
The branch main has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=749e318da39efc58107fdef517cf9c357053413a
commit 749e318da39efc58107fdef517cf9c357053413a
Author: Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2024-02-27 22:00:44 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2024-02-27 22:10:14 +0000
riscv: add starfive kernelconf template
Enable the Synopsis UART driver. Other drivers will be added in the
future.
Reviewed by: jrtc27
Sponsored by: The FreeBSD Foundatino
Differential Revision: https://reviews.freebsd.org/D44105
---
sys/riscv/conf/GENERIC | 1 +
sys/riscv/conf/std.starfive | 7 +++++++
sys/riscv/starfive/files.starfive | 0
3 files changed, 8 insertions(+)
diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index b6c7bb54050f..74ca1a94fc87 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -205,3 +205,4 @@ device iicoc # OpenCores I2C controller support
# Include SoC specific configuration
include "std.allwinner"
include "std.sifive"
+include "std.starfive"
diff --git a/sys/riscv/conf/std.starfive b/sys/riscv/conf/std.starfive
new file mode 100644
index 000000000000..578110dfd5a9
--- /dev/null
+++ b/sys/riscv/conf/std.starfive
@@ -0,0 +1,7 @@
+#
+# StarFive SoC support
+#
+
+device uart_snps # DesignWare Synopsis UART driver
+
+files "../starfive/files.starfive"
diff --git a/sys/riscv/starfive/files.starfive b/sys/riscv/starfive/files.starfive
new file mode 100644
index 000000000000..e69de29bb2d1