soc/intel/pantherlake: Add ACPI name for GSPI2
This change adds the ACPI name "SPI2" for the GSPI2 device in the Panther Lake SOC. Replace space with tab for PCI_DEVFN_GSPI2 macro. w/o this patch: [ERROR] Missing ACPI Name for PCI: 00:12.6 [ERROR] Missing ACPI Name for PCI: 00:12.6 w/ this patch: No error Change-Id: I404ddb893b82836e06d0f52a6d6f2aff2273d8c6 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85712 Reviewed-by: YH Lin <yueherngl@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
1fda7027c0
commit
222ef676f9
2 changed files with 2 additions and 1 deletions
|
|
@ -86,6 +86,7 @@ const char *soc_acpi_name(const struct device *dev)
|
|||
case PCI_DEVFN_NPU: return "NPU";
|
||||
case PCI_DEVFN_IPU: return "IPU0";
|
||||
case PCI_DEVFN_ISH: return "ISHB";
|
||||
case PCI_DEVFN_GSPI2: return "SPI2";
|
||||
case PCI_DEVFN_XHCI: return "XHCI";
|
||||
case PCI_DEVFN_SRAM: return "SRAM";
|
||||
case PCI_DEVFN_I2C0: return "I2C0";
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@
|
|||
#define PCI_DEVFN_ISH _PCI_DEVFN(ISH, 0)
|
||||
#define PCI_DEVFN_P2SB2 _PCI_DEVFN(ISH, 1)
|
||||
#define PCI_DEVFN_IEH_1 _PCI_DEVFN(ISH, 3)
|
||||
#define PCI_DEVFN_GSPI2 _PCI_DEVFN(ISH, 6)
|
||||
#define PCI_DEVFN_GSPI2 _PCI_DEVFN(ISH, 6)
|
||||
#define PCI_DEV_ISH _PCI_DEV(ISH, 0)
|
||||
#define PCI_DEV_P2SB2 _PCI_DEV(ISH, 1)
|
||||
#define PCI_DEV_IEH_1 _PCI_DEV(ISH, 3)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue