util/inteltool: Add support for (non-ULT) Broadwell
Add support for traditional (non-ULT) Broadwell. Change-Id: Ibe0ed9badd580e28060fe8df14a01352d4c1e11e Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68186 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
parent
aa4cd73409
commit
f007ab7b43
|
@ -107,6 +107,10 @@ static const struct {
|
||||||
"4th generation (Haswell family) Core Processor ULT" },
|
"4th generation (Haswell family) Core Processor ULT" },
|
||||||
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_U,
|
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_U,
|
||||||
"5th generation (Broadwell family) Core Processor ULT" },
|
"5th generation (Broadwell family) Core Processor ULT" },
|
||||||
|
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_D,
|
||||||
|
"5th generation (Broadwell family) Core Processor (Desktop)" },
|
||||||
|
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_M,
|
||||||
|
"5th generation (Broadwell family) Core Processor (Mobile)" },
|
||||||
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_M,
|
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_M,
|
||||||
"6th generation (Skylake-H family) Core Processor (Mobile)" },
|
"6th generation (Skylake-H family) Core Processor (Mobile)" },
|
||||||
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_WST,
|
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_WST,
|
||||||
|
|
|
@ -333,6 +333,8 @@ static inline uint32_t inl(unsigned port)
|
||||||
#define PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_E3 0x0c08 /* Haswell (Xeon E3 v3) */
|
#define PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_E3 0x0c08 /* Haswell (Xeon E3 v3) */
|
||||||
#define PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_U 0x0a04 /* Haswell-ULT */
|
#define PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_U 0x0a04 /* Haswell-ULT */
|
||||||
#define PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_U 0x1604 /* Broadwell-ULT */
|
#define PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_U 0x1604 /* Broadwell-ULT */
|
||||||
|
#define PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_D 0x1610 /* Broadwell (Desktop) */
|
||||||
|
#define PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_M 0x1614 /* Broadwell (Mobile) */
|
||||||
#define PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_D2 0x190f /* Skylake (Desktop) */
|
#define PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_D2 0x190f /* Skylake (Desktop) */
|
||||||
#define PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_U 0x1904 /* Skylake (Mobile) */
|
#define PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_U 0x1904 /* Skylake (Mobile) */
|
||||||
#define PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_Y 0x190c /* Skylake (Mobile) */
|
#define PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_Y 0x190c /* Skylake (Mobile) */
|
||||||
|
|
|
@ -206,6 +206,8 @@ int print_mchbar(struct pci_dev *nb, struct pci_access *pacc, const char *dump_s
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_E3:
|
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_E3:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_U:
|
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_U:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_U:
|
case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_U:
|
||||||
|
case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_D:
|
||||||
|
case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_M:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_D2:
|
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_D2:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_U:
|
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_U:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_Y:
|
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_Y:
|
||||||
|
|
|
@ -250,6 +250,8 @@ int print_epbar(struct pci_dev *nb)
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_E3:
|
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_E3:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_U:
|
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_U:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_U:
|
case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_U:
|
||||||
|
case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_D:
|
||||||
|
case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_M:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_D2:
|
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_D2:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_U:
|
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_U:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_Y:
|
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_Y:
|
||||||
|
@ -369,6 +371,8 @@ int print_dmibar(struct pci_dev *nb)
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_D:
|
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_D:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_M:
|
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_M:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_E3:
|
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_E3:
|
||||||
|
case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_D:
|
||||||
|
case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_M:
|
||||||
dmibar_phys = pci_read_long(nb, 0x68);
|
dmibar_phys = pci_read_long(nb, 0x68);
|
||||||
dmibar_phys |= ((uint64_t)pci_read_long(nb, 0x6c)) << 32;
|
dmibar_phys |= ((uint64_t)pci_read_long(nb, 0x6c)) << 32;
|
||||||
dmibar_phys &= 0x0000007ffffff000UL; /* 38:12 */
|
dmibar_phys &= 0x0000007ffffff000UL; /* 38:12 */
|
||||||
|
@ -496,6 +500,8 @@ int print_pciexbar(struct pci_dev *nb)
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_E3:
|
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_E3:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_U:
|
case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_U:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_U:
|
case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_U:
|
||||||
|
case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_D:
|
||||||
|
case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_M:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_D2:
|
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_D2:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_U:
|
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_U:
|
||||||
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_Y:
|
case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_Y:
|
||||||
|
|
Loading…
Reference in New Issue