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"
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to