repo.or.cz
/
coreboot2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
soc/intel/xeon_sp: Drop unused code
[coreboot2.git]
/
src
/
soc
/
intel
/
xeon_sp
/
spi.c
blob
ff0b6a5ebee6e469c787a09dd7b7f6eac6399a88
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3
#include <intelblocks/spi.h>
4
#include <soc/pci_devs.h>
5
6
int
spi_soc_devfn_to_bus
(
unsigned int
devfn
)
7
{
8
switch
(
devfn
) {
9
case
PCH_DEVFN_SPI
:
10
return
0
;
11
}
12
return
-
1
;
13
}