add i945GSE to inteltool
authorBjörn Busse <bj.rn@co-assembler.net>
Sun, 1 Aug 2010 15:33:30 +0000 (15:33 +0000)
committerStefan Reinauer <stepan@openbios.org>
Sun, 1 Aug 2010 15:33:30 +0000 (15:33 +0000)
Signed-off-by: Björn Busse <bj.rn@co-assembler.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5675 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

util/inteltool/inteltool.c
util/inteltool/inteltool.h
util/inteltool/memory.c
util/inteltool/pcie.c

index 2b066b1715598db69b1b0b0a25e2fde2da40469b..678930d5c2e5483321e94ebea66eafb5c0a1792e 100644 (file)
@@ -40,6 +40,7 @@ static const struct {
        { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82915, "82915G/P/GV/GL/PL/910GL" },
        { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82945P, "i945P" },
        { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82945GM, "i945GM" },
+       { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82945GSE, "i945GSE" },
        { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PM965, "PM965" },
        { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_Q965, "Q963/965" },
        { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82975X, "i975X" },
index 01323d8a835d64f45503136c67d263d1d313ab0e..c0a2c2066b5130368fac38f08e26e76a989ecd90 100644 (file)
@@ -61,6 +61,7 @@
 #define PCI_DEVICE_ID_INTEL_82915              0x2580
 #define PCI_DEVICE_ID_INTEL_82945P             0x2770
 #define PCI_DEVICE_ID_INTEL_82945GM            0x27a0
+#define PCI_DEVICE_ID_INTEL_82945GSE           0x27ac
 #define PCI_DEVICE_ID_INTEL_PM965              0x2a00
 #define PCI_DEVICE_ID_INTEL_Q965               0x2990
 #define PCI_DEVICE_ID_INTEL_82975X             0x277c
index a076876526c2c84b07e92038192d1000f6338280..94796a998280323571b2810e1393850fa71ee18f 100644 (file)
@@ -36,6 +36,7 @@ int print_mchbar(struct pci_dev *nb)
        switch (nb->device_id) {
        case PCI_DEVICE_ID_INTEL_82915:
        case PCI_DEVICE_ID_INTEL_82945GM:
+       case PCI_DEVICE_ID_INTEL_82945GSE:
        case PCI_DEVICE_ID_INTEL_82945P:
        case PCI_DEVICE_ID_INTEL_82975X:
                mchbar_phys = pci_read_long(nb, 0x44) & 0xfffffffe;
index 10b79e48660d7e430858ceb106847b85bf17727a..b4ad7323534785a3a42dc6d0fb88ae09c9d2ac8c 100644 (file)
@@ -35,6 +35,7 @@ int print_epbar(struct pci_dev *nb)
        switch (nb->device_id) {
        case PCI_DEVICE_ID_INTEL_82915:
        case PCI_DEVICE_ID_INTEL_82945GM:
+       case PCI_DEVICE_ID_INTEL_82945GSE:
        case PCI_DEVICE_ID_INTEL_82945P:
        case PCI_DEVICE_ID_INTEL_82975X:
                epbar_phys = pci_read_long(nb, 0x40) & 0xfffffffe;
@@ -92,6 +93,7 @@ int print_dmibar(struct pci_dev *nb)
        switch (nb->device_id) {
        case PCI_DEVICE_ID_INTEL_82915:
        case PCI_DEVICE_ID_INTEL_82945GM:
+       case PCI_DEVICE_ID_INTEL_82945GSE:
        case PCI_DEVICE_ID_INTEL_82945P:
        case PCI_DEVICE_ID_INTEL_82975X:
                dmibar_phys = pci_read_long(nb, 0x4c) & 0xfffffffe;
@@ -150,6 +152,7 @@ int print_pciexbar(struct pci_dev *nb)
        switch (nb->device_id) {
        case PCI_DEVICE_ID_INTEL_82915:
        case PCI_DEVICE_ID_INTEL_82945GM:
+       case PCI_DEVICE_ID_INTEL_82945GSE:
        case PCI_DEVICE_ID_INTEL_82945P:
        case PCI_DEVICE_ID_INTEL_82975X:
                pciexbar_reg = pci_read_long(nb, 0x48);