diff options
Diffstat (limited to 'src/soc/intel/snowridge/dlb.c')
-rw-r--r-- | src/soc/intel/snowridge/dlb.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/soc/intel/snowridge/dlb.c b/src/soc/intel/snowridge/dlb.c new file mode 100644 index 0000000000..6e25c4064a --- /dev/null +++ b/src/soc/intel/snowridge/dlb.c @@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <device/device.h> +#include <device/pci.h> +#include <device/pci_ids.h> + +#include "ramstage.h" + +static struct device_operations snr_dlb_ops = { + .read_resources = pciexp_pf_read_resources, + .set_resources = pci_dev_set_resources, + .enable_resources = pci_dev_enable_resources, + .final = pci_dev_request_bus_master, + .ops_pci = &pci_dev_ops_pci, +}; + +static const struct pci_driver snr_dlb_driver __pci_driver = { + .ops = &snr_dlb_ops, + .vendor = PCI_VID_INTEL, + .device = PCI_DID_INTEL_SNR_DLB +}; |