aboutsummaryrefslogtreecommitdiff
path: root/util/inteltool/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/inteltool/memory.c')
-rw-r--r--util/inteltool/memory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/inteltool/memory.c b/util/inteltool/memory.c
index 393725b0ff..0dae58998d 100644
--- a/util/inteltool/memory.c
+++ b/util/inteltool/memory.c
@@ -54,6 +54,10 @@ int print_mchbar(struct pci_dev *nb)
case PCI_DEVICE_ID_INTEL_82830M:
printf("This northbrigde does not have MCHBAR.\n");
return 1;
+ case PCI_DEVICE_ID_INTEL_GS45:
+ mchbar_phys = pci_read_long(nb, 0x48) & 0xfffffffe;
+ mchbar_phys |= ((uint64_t)pci_read_long(nb, 0x4c)) << 32;
+ break;
default:
printf("Error: Dumping MCHBAR on this northbridge is not (yet) supported.\n");
return 1;