util/inteltool: Add support for Sunrise Point LP
Used documents: 334658 (Sunrise Point-LP I/O datasheet vol. 1) 334659 (Sunrise Point-LP I/O datasheet vol. 2) 332690 (Sunrise Point I/O datasheet vol. 1) Change-Id: I16237ffc9a225b46271f2a51d77a7f28dfc36138 Signed-off-by: Felix Singer <migy@darmstadt.ccc.de> Reviewed-on: https://review.coreboot.org/c/28623 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
committed by
Felix Held
parent
6ece0adf8c
commit
2bf28e52ee
@@ -267,6 +267,9 @@ int print_epbar(struct pci_dev *nb)
|
||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_M:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_WST:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_D:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_7TH_GEN_U:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_7TH_GEN_Y:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_7TH_GEN_U_Q:
|
||||
epbar_phys = pci_read_long(nb, 0x40) & 0xfffffffe;
|
||||
epbar_phys |= ((uint64_t)pci_read_long(nb, 0x44)) << 32;
|
||||
break;
|
||||
@@ -389,6 +392,9 @@ int print_dmibar(struct pci_dev *nb)
|
||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_M:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_WST:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_D:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_7TH_GEN_U:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_7TH_GEN_Y:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_7TH_GEN_U_Q:
|
||||
dmi_registers = skylake_dmi_registers;
|
||||
size = ARRAY_SIZE(skylake_dmi_registers);
|
||||
dmibar_phys = pci_read_long(nb, 0x68);
|
||||
@@ -495,6 +501,9 @@ int print_pciexbar(struct pci_dev *nb)
|
||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_M:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_WST:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_D:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_7TH_GEN_U:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_7TH_GEN_Y:
|
||||
case PCI_DEVICE_ID_INTEL_CORE_7TH_GEN_U_Q:
|
||||
pciexbar_reg = pci_read_long(nb, 0x60);
|
||||
pciexbar_reg |= ((uint64_t)pci_read_long(nb, 0x64)) << 32;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user