Harsha Priya | 29f351e | 2016-07-01 11:53:05 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright 2016 Google Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | */ |
| 15 | |
| 16 | #include <device/device.h> |
| 17 | #include <device/pci.h> |
| 18 | #include <device/pci_ids.h> |
| 19 | #include <soc/pci_ids.h> |
| 20 | |
| 21 | static struct device_operations dsp_dev_ops = { |
| 22 | .read_resources = &pci_dev_read_resources, |
| 23 | .set_resources = &pci_dev_set_resources, |
| 24 | .enable_resources = &pci_dev_enable_resources, |
| 25 | .scan_bus = &scan_static_bus, |
| 26 | }; |
| 27 | |
| 28 | static const struct pci_driver apollolake_dsp __pci_driver = { |
| 29 | .ops = &dsp_dev_ops, |
| 30 | .vendor = PCI_VENDOR_ID_INTEL, |
| 31 | .device = PCI_DEVICE_ID_APOLLOLAKE_AUDIO |
| 32 | }; |