]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - drivers/pci/pci_x86.c
dm: x86: pci: Add a PCI driver for driver model
[karo-tx-uboot.git] / drivers / pci / pci_x86.c
1 /*
2  * Copyright (c) 2015 Google, Inc
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #include <common.h>
8 #include <dm.h>
9 #include <pci.h>
10
11 static const struct dm_pci_ops x86_pci_ops = {
12 };
13
14 static const struct udevice_id x86_pci_ids[] = {
15         { .compatible = "x86,pci" },
16         { }
17 };
18
19 U_BOOT_DRIVER(pci_x86) = {
20         .name   = "pci_x86",
21         .id     = UCLASS_PCI,
22         .of_match = x86_pci_ids,
23         .ops    = &x86_pci_ops,
24 };