aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/northbridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/apollolake/northbridge.c')
-rw-r--r--src/soc/intel/apollolake/northbridge.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/soc/intel/apollolake/northbridge.c b/src/soc/intel/apollolake/northbridge.c
index 9519603300..4997c6f9a4 100644
--- a/src/soc/intel/apollolake/northbridge.c
+++ b/src/soc/intel/apollolake/northbridge.c
@@ -21,7 +21,6 @@
#include <device/pci.h>
#include <device/pci_ids.h>
#include <soc/systemagent.h>
-#include <soc/pci_ids.h>
static uint32_t get_bar(device_t dev, unsigned int index)
{
@@ -162,8 +161,14 @@ static struct device_operations northbridge_ops = {
.enable = DEVICE_NOOP
};
+static const unsigned short pci_device_ids[] = {
+ PCI_DEVICE_ID_INTEL_APL_NB,
+ PCI_DEVICE_ID_INTEL_GLK_NB,
+ 0,
+};
+
static const struct pci_driver northbridge_driver __pci_driver = {
.ops = &northbridge_ops,
.vendor = PCI_VENDOR_ID_INTEL,
- .device = PCI_DEVICE_ID_APOLLOLAKE_NB
+ .devices = pci_device_ids,
};