From f5f7c84a58c61ff690bf9dd4260280e93353d4fe Mon Sep 17 00:00:00 2001 From: Hannah Williams Date: Wed, 31 May 2017 13:45:08 -0700 Subject: soc/intel/apollolake: Remove soc/pci_ids dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and add pci ids for GLK and APL from device/pci_ids.h Change-Id: If8101fe52591b09caadfe104ca8daab4258837c7 Signed-off-by: Hannah Williams Reviewed-on: https://review.coreboot.org/19999 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Furquan Shaikh --- src/soc/intel/apollolake/lpc.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/soc/intel/apollolake/lpc.c') diff --git a/src/soc/intel/apollolake/lpc.c b/src/soc/intel/apollolake/lpc.c index 810c4c9af3..67c87b1f22 100644 --- a/src/soc/intel/apollolake/lpc.c +++ b/src/soc/intel/apollolake/lpc.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #include @@ -167,8 +166,14 @@ static struct device_operations device_ops = { .scan_bus = scan_lpc_bus, }; +static const unsigned short pci_device_ids[] = { + PCI_DEVICE_ID_INTEL_APL_LPC, + PCI_DEVICE_ID_INTEL_GLK_LPC, + 0, +}; + static const struct pci_driver soc_lpc __pci_driver = { .ops = &device_ops, .vendor = PCI_VENDOR_ID_INTEL, - .device = PCI_DEVICE_ID_APOLLOLAKE_LPC, + .devices = pci_device_ids, }; -- cgit v1.2.3