Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Sep 2021 12:09:44 GMT
From:      Jessica Clarke <jrtc27@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 16ee8fe56b8b - stable/13 - riscv: Include spibus and spigen in GENERIC
Message-ID:  <202109071209.187C9ijk087305@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jrtc27:

URL: https://cgit.FreeBSD.org/src/commit/?id=16ee8fe56b8bbe394cee55ca0d0e50f9b7a69ba8

commit 16ee8fe56b8bbe394cee55ca0d0e50f9b7a69ba8
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2021-07-21 05:46:09 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2021-09-07 12:06:48 +0000

    riscv: Include spibus and spigen in GENERIC
    
    We already attempt to enable the SiFive SPI controller, but since spibus
    isn't enabled it isn't actually built.
    
    Reviewed by:    kp, philip
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D31027
    
    (cherry picked from commit 8c439847f0d33fdb79f2bbdced4c300a620d74f5)
---
 sys/riscv/conf/GENERIC | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index 63ed92a409e4..805ca47a637e 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -122,6 +122,10 @@ device		xae		# Xilinx AXI Ethernet MAC
 device		xdma		# DMA interface
 device		axidma		# Xilinx AXI DMA Controller
 
+# SPI
+device		spibus
+device		spigen
+
 # Uncomment for memory disk
 # options 	MD_ROOT
 # options 	MD_ROOT_SIZE=32768	# 32MB ram disk



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