spi: make the "slave" config(5) locator optional
needed to be able to support FDT direct attachment of SPI slaves
This commit is contained in:
parent
ba1beab6cb
commit
b656910d5f
|
@ -1,8 +1,8 @@
|
|||
# $NetBSD: files.spi,v 1.5 2015/08/18 15:54:20 phx Exp $
|
||||
# $NetBSD: files.spi,v 1.6 2019/08/05 23:42:48 tnn Exp $
|
||||
|
||||
define spibus { }
|
||||
|
||||
device spi { slave }
|
||||
device spi { [slave = -1] }
|
||||
attach spi at spibus
|
||||
file dev/spi/spi.c spi | spibus
|
||||
|
||||
|
|
Loading…
Reference in New Issue