diff options
Diffstat (limited to 'src/soc/intel/skylake/spi.c')
-rw-r--r-- | src/soc/intel/skylake/spi.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/soc/intel/skylake/spi.c b/src/soc/intel/skylake/spi.c index 020994dbe8..b2d8de92b6 100644 --- a/src/soc/intel/skylake/spi.c +++ b/src/soc/intel/skylake/spi.c @@ -30,16 +30,3 @@ int spi_soc_devfn_to_bus(unsigned int devfn) } return -1; } - -int spi_soc_bus_to_devfn(unsigned int bus) -{ - switch (bus) { - case 0: - return PCH_DEVFN_SPI; - case 1: - return PCH_DEVFN_GSPI0; - case 2: - return PCH_DEVFN_GSPI1; - } - return -1; -} |