Duncan Laurie | 026003e | 2016-05-10 15:42:42 -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/ramstage.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 | .ops_pci = &soc_pci_ops, |
| 27 | }; |
| 28 | |
| 29 | static const struct pci_driver skylake_dsp __pci_driver = { |
| 30 | .ops = &dsp_dev_ops, |
| 31 | .vendor = PCI_VENDOR_ID_INTEL, |
| 32 | .device = 0x9d70 |
| 33 | }; |