☰
Debian Codegraph
@
25.09+dfsg-1
/
/
src
/
soc
/
intel
/
denverton_ns
/
spi.c
☽
☼
src/soc/intel/denverton_ns/spi.c
code
plain
raw
symbols
SCIP
GPL-2
See Files: *
debian/copyright
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
/* Denverton doesn't have GSPI controllers, only Fast SPI */
9
10
if
(devfn ==
PCH_DEVFN_SPI
)
11
return
0
;
12
else
13
return
-1
;
14
}