aboutsummaryrefslogtreecommitdiff
path: root/util/inteltool/memory.c
diff options
context:
space:
mode:
authorAnton Kochkov <anton.kochkov@gmail.com>2010-05-30 12:33:12 +0000
committerStefan Reinauer <stepan@openbios.org>2010-05-30 12:33:12 +0000
commitda0b456ad087daa384d30498132e4e59fa311e14 (patch)
tree4d3e1c86733c4db755cd665bf080c87b159fff44 /util/inteltool/memory.c
parent32e6e411eaab6b745aca1f74f2d9b5b2df641915 (diff)
Added support to ICH9 chipset family
Signed-off-by: Anton Kochkov <anton.kochkov@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5597 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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;