nb/intel/haswell: Add a PCI ID for a desktop memory controller

The PCI ID was taken from the output of `lspci` on an ASRock H81M-HDS.

Change-Id: Ie162cb7a27e313ffe612659e8444657a3772d3c9
Signed-off-by: Tristan Corrick <tristan@corrick.kiwi>
Reviewed-on: https://review.coreboot.org/29378
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Tristan Corrick 2018-10-31 02:21:41 +13:00 committed by Nico Huber
parent 4587f84757
commit 4817012e93
2 changed files with 7 additions and 0 deletions

View File

@ -210,6 +210,7 @@ struct ied_header {
u8 reserved[34];
} __packed;
#define PCI_DEVICE_ID_HSW_DESKTOP 0x0c00
#define PCI_DEVICE_ID_HSW_MOBILE 0x0c04
#define PCI_DEVICE_ID_HSW_ULT 0x0a04

View File

@ -461,6 +461,12 @@ static struct device_operations mc_ops = {
.ops_pci = &intel_pci_ops,
};
static const struct pci_driver mc_driver_hsw_normal __pci_driver = {
.ops = &mc_ops,
.vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_HSW_DESKTOP,
};
static const struct pci_driver mc_driver_hsw_mobile __pci_driver = {
.ops = &mc_ops,
.vendor = PCI_VENDOR_ID_INTEL,