svn commit: r365995 - head/sys/riscv/conf
Mitchell Horne
mhorne at FreeBSD.org
Tue Sep 22 13:00:03 UTC 2020
Author: mhorne
Date: Tue Sep 22 13:00:02 2020
New Revision: 365995
URL: https://svnweb.freebsd.org/changeset/base/365995
Log:
RISC-V: build SiFive drivers and DTB in GENERIC
In the spirit of the GENERIC config, we should include the drivers required to
run on most supported platforms.
Reviewed by: kp
Differential Revision: https://reviews.freebsd.org/D26501
Modified:
head/sys/riscv/conf/GENERIC
Modified: head/sys/riscv/conf/GENERIC
==============================================================================
--- head/sys/riscv/conf/GENERIC Tue Sep 22 12:14:46 2020 (r365994)
+++ head/sys/riscv/conf/GENERIC Tue Sep 22 13:00:02 2020 (r365995)
@@ -163,4 +163,10 @@ device firmware # firmware assist module
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
+# Flattened Device Tree
options FDT
+makeoptions MODULES_EXTRA+="dtb/sifive"
+
+# SiFive device drivers
+device fu540spi
+include "../sifive/std.sifive"
More information about the svn-src-all
mailing list