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:
parent
4587f84757
commit
4817012e93
|
@ -210,6 +210,7 @@ struct ied_header {
|
||||||
u8 reserved[34];
|
u8 reserved[34];
|
||||||
} __packed;
|
} __packed;
|
||||||
|
|
||||||
|
#define PCI_DEVICE_ID_HSW_DESKTOP 0x0c00
|
||||||
#define PCI_DEVICE_ID_HSW_MOBILE 0x0c04
|
#define PCI_DEVICE_ID_HSW_MOBILE 0x0c04
|
||||||
#define PCI_DEVICE_ID_HSW_ULT 0x0a04
|
#define PCI_DEVICE_ID_HSW_ULT 0x0a04
|
||||||
|
|
||||||
|
|
|
@ -461,6 +461,12 @@ static struct device_operations mc_ops = {
|
||||||
.ops_pci = &intel_pci_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 = {
|
static const struct pci_driver mc_driver_hsw_mobile __pci_driver = {
|
||||||
.ops = &mc_ops,
|
.ops = &mc_ops,
|
||||||
.vendor = PCI_VENDOR_ID_INTEL,
|
.vendor = PCI_VENDOR_ID_INTEL,
|
||||||
|
|
Loading…
Reference in New Issue