Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2020 13:00:02 +0000 (UTC)
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r365995 - head/sys/riscv/conf
Message-ID:  <202009221300.08MD02wf097364@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009221300.08MD02wf097364>