From ae848f871947825dbdc889bf4b0bb4c0fd92219f Mon Sep 17 00:00:00 2001 From: Maximilian Schander Date: Sun, 5 Nov 2017 06:46:44 +0100 Subject: [PATCH] util/inteltool: Add Skylake definition to MCHBAR reading Taken from * 6th Generation Intel Processor Families for S-Platform Volume 2 of 2 * Page 56 * 332688-003EN Change-Id: I46c8dd77823870b55cc040f7f6c557cb5a2562a1 Signed-off-by: Maximilian Schander Reviewed-on: https://review.coreboot.org/22351 Tested-by: build bot (Jenkins) Reviewed-by: Rizwan Qureshi Reviewed-by: Nico Huber --- util/inteltool/memory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util/inteltool/memory.c b/util/inteltool/memory.c index 59329c8b22..87cd5d8f06 100644 --- a/util/inteltool/memory.c +++ b/util/inteltool/memory.c @@ -219,6 +219,7 @@ int print_mchbar(struct pci_dev *nb, struct pci_access *pacc, const char *dump_s case PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_U: case PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_U: case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_WST: + case PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_M: mchbar_phys = pci_read_long(nb, 0x48); mchbar_phys |= ((uint64_t)pci_read_long(nb, 0x4c)) << 32; mchbar_phys &= 0x0000007fffff8000UL; /* 38:15 */