soc/intel: Remove blank lines before '}' and after '{'
[coreboot2.git] / src / soc / intel / tigerlake / gspi.c
blob83552f9435e72f8eaec87635792faf7b06147c61
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 /*
4 * This file is created based on Intel Tiger Lake Processor PCH Datasheet
5 * Document number: 575857
6 * Chapter number: 11
7 */
9 #include <intelblocks/gspi.h>
10 #include <soc/pci_devs.h>
12 int gspi_soc_bus_to_devfn(unsigned int gspi_bus)
14 switch (gspi_bus) {
15 case 0:
16 return PCH_DEVFN_GSPI0;
17 case 1:
18 return PCH_DEVFN_GSPI1;
19 case 2:
20 return PCH_DEVFN_GSPI2;
22 return -1;