coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
spi.c File Reference
#include <intelblocks/spi.h>
#include <soc/pci_devs.h>
Include dependency graph for spi.c:

Go to the source code of this file.

Functions

int spi_soc_devfn_to_bus (unsigned int devfn)
 

Function Documentation

◆ spi_soc_devfn_to_bus()

int spi_soc_devfn_to_bus ( unsigned int  devfn)

Definition at line 6 of file spi.c.

References PCH_DEVFN_GSPI0, PCH_DEVFN_GSPI1, PCH_DEVFN_GSPI2, and PCH_DEVFN_SPI.