soc/intel/apollolake: Remove soc/pci_ids dependency
and add pci ids for GLK and APL from device/pci_ids.h Change-Id: If8101fe52591b09caadfe104ca8daab4258837c7 Signed-off-by: Hannah Williams <hannah.williams@intel.com> Reviewed-on: https://review.coreboot.org/19999 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
committed by
Aaron Durbin
parent
9deb23a4ad
commit
f5f7c84a58
@ -23,7 +23,6 @@
|
||||
#include <pc80/mc146818rtc.h>
|
||||
#include <soc/acpi.h>
|
||||
#include <soc/lpc.h>
|
||||
#include <soc/pci_ids.h>
|
||||
#include <soc/pm.h>
|
||||
#include <vboot/vbnv.h>
|
||||
|
||||
@ -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,
|
||||
};
|
||||
|
Reference in New Issue
Block a user