diff options
author | Hannah Williams <hannah.williams@intel.com> | 2017-05-31 13:45:08 -0700 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-06-01 20:50:25 +0200 |
commit | f5f7c84a58c61ff690bf9dd4260280e93353d4fe (patch) | |
tree | 12ca80ceb0c2aecdd4fab3bb23a25edee0c24808 /src/soc/intel/apollolake/dsp.c | |
parent | 9deb23a4adf6daf3e84f1b8c79d68e34765e54eb (diff) |
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>
Diffstat (limited to 'src/soc/intel/apollolake/dsp.c')
-rw-r--r-- | src/soc/intel/apollolake/dsp.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/soc/intel/apollolake/dsp.c b/src/soc/intel/apollolake/dsp.c index a2d21aa259..76547eef6c 100644 --- a/src/soc/intel/apollolake/dsp.c +++ b/src/soc/intel/apollolake/dsp.c @@ -16,7 +16,6 @@ #include <device/device.h> #include <device/pci.h> #include <device/pci_ids.h> -#include <soc/pci_ids.h> static struct device_operations dsp_dev_ops = { .read_resources = &pci_dev_read_resources, @@ -25,8 +24,14 @@ static struct device_operations dsp_dev_ops = { .scan_bus = &scan_static_bus, }; +static const unsigned short pci_device_ids[] = { + PCI_DEVICE_ID_INTEL_APL_AUDIO, + PCI_DEVICE_ID_INTEL_GLK_AUDIO, + 0, +}; + static const struct pci_driver apollolake_dsp __pci_driver = { .ops = &dsp_dev_ops, .vendor = PCI_VENDOR_ID_INTEL, - .device = PCI_DEVICE_ID_APOLLOLAKE_AUDIO + .devices = pci_device_ids, }; |