soc/intel/{tiger,jasper}lake: Add IPU to soc_acpi_name

For both Tiger Lake and Jasper Lake, add the DEVFN for Image Processing
Unit (IPU) to soc_acpi_name, which is set to return "IPU0".

Change-Id: Ib11be5be7fbaec688d8788945a3bcab3f8d834a1
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42878
Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Tim Wawrzynczak 2020-06-29 12:34:55 -06:00
parent c0199919e3
commit 4b748140ba
2 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ const char *soc_acpi_name(const struct device *dev)
switch (dev->path.pci.devfn) { switch (dev->path.pci.devfn) {
case SA_DEVFN_ROOT: return "MCHC"; case SA_DEVFN_ROOT: return "MCHC";
case SA_DEVFN_IPU: return "IPU0";
case PCH_DEVFN_ISH: return "ISHB"; case PCH_DEVFN_ISH: return "ISHB";
case PCH_DEVFN_XHCI: return "XHCI"; case PCH_DEVFN_XHCI: return "XHCI";
case PCH_DEVFN_I2C0: return "I2C0"; case PCH_DEVFN_I2C0: return "I2C0";

View File

@ -67,6 +67,7 @@ const char *soc_acpi_name(const struct device *dev)
case SA_DEVFN_TBT1: return "TRP1"; case SA_DEVFN_TBT1: return "TRP1";
case SA_DEVFN_TBT2: return "TRP2"; case SA_DEVFN_TBT2: return "TRP2";
case SA_DEVFN_TBT3: return "TRP3"; case SA_DEVFN_TBT3: return "TRP3";
case SA_DEVFN_IPU: return "IPU0";
case PCH_DEVFN_ISH: return "ISHB"; case PCH_DEVFN_ISH: return "ISHB";
case PCH_DEVFN_XHCI: return "XHCI"; case PCH_DEVFN_XHCI: return "XHCI";
case PCH_DEVFN_I2C0: return "I2C0"; case PCH_DEVFN_I2C0: return "I2C0";