The output for this is smaller than I expected, so it would be nice to
get another pair of eyes on this. I implemented this with information
contained in the following doc:
Intel 320838 (X58 Express Chipset) Section 17.12.4.5 (DMI RCBAR)

Thanks,
wt

On Wed, Sep 1, 2010 at 1:41 PM, Warren Turkal <[email protected]> wrote:
> Signed-off-by: Warren Turkal <[email protected]>
> ---
>  util/inteltool/pcie.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/util/inteltool/pcie.c b/util/inteltool/pcie.c
> index 0201342..2c0f6a4 100644
> --- a/util/inteltool/pcie.c
> +++ b/util/inteltool/pcie.c
> @@ -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;
> --
> 1.7.1
>
>

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to