blob: a2d21aa259a4e4fc8628c5510e65f07c6daf7151 [file] [log] [blame]
Harsha Priya29f351e2016-07-01 11:53:05 -07001/*
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
21static 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
28static 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};