Add DMIBAR support for Intel X58 southbridge
authorWarren Turkal <wt@penguintechs.org>
Fri, 3 Sep 2010 09:31:13 +0000 (09:31 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Fri, 3 Sep 2010 09:31:13 +0000 (09:31 +0000)
Signed-off-by: Warren Turkal <wt@penguintechs.org>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5770 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

util/inteltool/pcie.c

index b4ad7323534785a3a42dc6d0fb88ae09c9d2ac8c..2f665d744f9d0304b56852ba01fb0b751b31899c 100644 (file)
@@ -114,6 +114,9 @@ int print_dmibar(struct pci_dev *nb)
        case PCI_DEVICE_ID_INTEL_82810E_MC:
                printf("This northbrigde does not have DMIBAR.\n");
                return 1;
+       case PCI_DEVICE_ID_INTEL_X58:
+               dmibar_phys = pci_read_long(nb, 0x50) & 0xfffff000;
+               break;
        default:
                printf("Error: Dumping DMIBAR on this northbridge is not (yet) supported.\n");
                return 1;